Prevented the collision loop from running as many times as there are players.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user