mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-22 21:40:39 +00:00
fix issue where all objects were set to owner 1 on start of clients
This commit is contained in:
parent
c5d8a25922
commit
643f1c361d
@ -25,7 +25,7 @@ namespace QSB.QuantumSync.Events
|
||||
|
||||
public override bool CheckMessage(bool isServer, QuantumAuthorityMessage message)
|
||||
{
|
||||
if (!QSBCore.HasWokenUp)
|
||||
if (!QuantumManager.Instance.IsReady)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ namespace QSB.QuantumSync
|
||||
private List<QuantumSocket> _quantumSockets;
|
||||
private List<QuantumShuffleObject> _quantumShuffleObjects;
|
||||
public QuantumShrine Shrine;
|
||||
public bool IsReady;
|
||||
|
||||
public void Awake()
|
||||
{
|
||||
@ -40,6 +41,7 @@ namespace QSB.QuantumSync
|
||||
{
|
||||
Shrine = Resources.FindObjectsOfTypeAll<QuantumShrine>().First();
|
||||
}
|
||||
IsReady = true;
|
||||
}
|
||||
|
||||
public void OnRenderObject()
|
||||
|
Loading…
x
Reference in New Issue
Block a user