mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-27 12:35:28 +00:00
fix
This commit is contained in:
parent
6c2a7c2b68
commit
02c2319ec9
@ -16,7 +16,7 @@ namespace QSB.QuantumSync.WorldObjects
|
|||||||
var tracker = (AttachedObject as Component).gameObject.AddComponent<OnEnableDisableTracker>();
|
var tracker = (AttachedObject as Component).gameObject.AddComponent<OnEnableDisableTracker>();
|
||||||
tracker.OnEnableEvent += OnEnable;
|
tracker.OnEnableEvent += OnEnable;
|
||||||
tracker.OnDisableEvent += OnDisable;
|
tracker.OnDisableEvent += OnDisable;
|
||||||
ControllingPlayer = 0;
|
ControllingPlayer = QSBCore.IsServer ? 1u : 0u;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnEnable()
|
private void OnEnable()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user