Prevented the collision loop from running as many times as there are players.

This commit is contained in:
2025-07-20 21:38:09 -04:00
parent 83e08ed403
commit e43973aef3
4 changed files with 85 additions and 21 deletions
@@ -135,7 +135,7 @@ public class GameManagerRound3 : GameManagerBase
public void BeginRound()
{
GetCurrentMarker().SendCustomNetworkEvent(NetworkEventTarget.All, "Activated", true);
GetCurrentMarker().SendCustomNetworkEvent(NetworkEventTarget.Owner, "Activated", true);
UpdateInterface();
@@ -250,7 +250,7 @@ public class GameManagerRound3 : GameManagerBase
SendCustomNetworkEvent(NetworkEventTarget.Owner, nameof(GameHasBeenLost), true);
return;
}
GetCurrentMarker().SendCustomNetworkEvent(NetworkEventTarget.All, "Activated", true);
GetCurrentMarker().SendCustomNetworkEvent(NetworkEventTarget.Owner, "Activated", true);
}
[NetworkCallable]