diff --git a/Leader2/scripting/Leader2.sp b/Leader2/scripting/Leader2.sp index f59d6dd..564bb57 100644 --- a/Leader2/scripting/Leader2.sp +++ b/Leader2/scripting/Leader2.sp @@ -1407,6 +1407,12 @@ public Action Event_RoundEnd(Handle event, char[] name, bool dontBroadcast) KillAllBeacons(); //KillAllPings(); + + //maybe a good idea to reset them on round end to prevent random props from being killed that could have the same index. + pingEntity0 = -1; + pingEntity1 = -1; + pingEntity2 = -1; + pingEntity3 = -1; } //----------------------------------------------------------------------------------------------------