From b41debb2f0b9f7bd41894eee0faa879cac7d42df Mon Sep 17 00:00:00 2001 From: orels Date: Tue, 29 Nov 2022 21:22:29 +0400 Subject: [PATCH] fix - missing synced trigger TakeOwnership call --- Behaviours/Misc/SyncedTrigger.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Behaviours/Misc/SyncedTrigger.cs b/Behaviours/Misc/SyncedTrigger.cs index 06a15cb..c6e6ad4 100644 --- a/Behaviours/Misc/SyncedTrigger.cs +++ b/Behaviours/Misc/SyncedTrigger.cs @@ -113,8 +113,9 @@ private void ProcessEvent(string eventName) { if (!allowed) return; } - if (!isOwner) { - SendCustomNetworkEvent(NetworkEventTarget.Owner, eventName); + if (!isOwner) + { + TakeOwnership(); } switch (eventName) {