mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
geyser resync info
This commit is contained in:
parent
4d5d0dbe4f
commit
feed84d88d
@ -1,5 +1,4 @@
|
||||
using Mirror;
|
||||
using QSB.GeyserSync.Messages;
|
||||
using QSB.GeyserSync.Messages;
|
||||
using QSB.Messaging;
|
||||
using QSB.WorldSync;
|
||||
|
||||
@ -13,6 +12,9 @@ namespace QSB.GeyserSync.WorldObjects
|
||||
AttachedObject.OnGeyserDeactivateEvent += () => HandleEvent(false);
|
||||
}
|
||||
|
||||
public override void SendResyncInfo(uint to) =>
|
||||
HandleEvent(AttachedObject._isActive);
|
||||
|
||||
private void HandleEvent(bool state)
|
||||
{
|
||||
if (QSBCore.IsHost)
|
||||
|
Loading…
Reference in New Issue
Block a user