File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ public override void OnEnabled()
7373 Handlers . Map . ChangedIntoGrenade += Handlers . Internal . ExplodingGrenade . OnChangedIntoGrenade ;
7474
7575 CharacterClassManager . OnRoundStarted += Handlers . Server . OnRoundStarted ;
76- RoleAssigner . OnPlayersSpawned += Handlers . Server . OnAllPlayersSpawned ;
7776 WaveManager . OnWaveSpawned += Handlers . Server . OnRespawnedTeam ;
7877 InventorySystem . InventoryExtensions . OnItemAdded += Handlers . Player . OnItemAdded ;
7978 InventorySystem . InventoryExtensions . OnItemRemoved += Handlers . Player . OnItemRemoved ;
@@ -114,7 +113,6 @@ public override void OnDisabled()
114113
115114 InventorySystem . InventoryExtensions . OnItemAdded -= Handlers . Player . OnItemAdded ;
116115 InventorySystem . InventoryExtensions . OnItemRemoved -= Handlers . Player . OnItemRemoved ;
117- RoleAssigner . OnPlayersSpawned -= Handlers . Server . OnAllPlayersSpawned ;
118116 WaveManager . OnWaveSpawned -= Handlers . Server . OnRespawnedTeam ;
119117 RagdollManager . OnRagdollSpawned -= Handlers . Internal . RagdollList . OnSpawnedRagdoll ;
120118 RagdollManager . OnRagdollRemoved -= Handlers . Internal . RagdollList . OnRemovedRagdoll ;
@@ -163,4 +161,4 @@ public void Unpatch()
163161 Log . Debug ( "All events have been unpatched complete. Goodbye!" ) ;
164162 }
165163 }
166- }
164+ }
Original file line number Diff line number Diff line change @@ -32,11 +32,6 @@ public static class Server
3232 /// </summary>
3333 public static Event RoundStarted { get ; set ; } = new ( ) ;
3434
35- /// <summary>
36- /// Invoked after all players have spawned at the start of a new round.
37- /// </summary>
38- public static Event AllPlayersSpawned { get ; set ; } = new ( ) ;
39-
4035 /// <summary>
4136 /// Invoked before ending a round.
4237 /// </summary>
@@ -142,11 +137,6 @@ public static class Server
142137 /// </summary>
143138 public static void OnRoundStarted ( ) => RoundStarted . InvokeSafely ( ) ;
144139
145- /// <summary>
146- /// Called after all players have spawned at the start of a new round.
147- /// </summary>
148- public static void OnAllPlayersSpawned ( ) => AllPlayersSpawned . InvokeSafely ( ) ;
149-
150140 /// <summary>
151141 /// Called before ending a round.
152142 /// </summary>
@@ -255,4 +245,4 @@ public static class Server
255245 /// <param name="ev">The <see cref="CompletingObjectiveEventArgs"/> instance.</param>
256246 public static void OnCompletingObjective ( CompletingObjectiveEventArgs ev ) => CompletingObjective . InvokeSafely ( ev ) ;
257247 }
258- }
248+ }
You can’t perform that action at this time.
0 commit comments