diff options
author | Dinorush <62536724+Dinorush@users.noreply.github.com> | 2022-02-16 05:13:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 11:13:19 +0100 |
commit | 2fbac6097ed995960f7a3fd5b1b0943d78150e15 (patch) | |
tree | 3523aa5ed55c8ce3909cc6ed0e4d9cbb083aa167 /Northstar.CustomServers/mod/scripts/vscripts/mp | |
parent | 482380091f93a2d86ea2f959fca6aadd2646700a (diff) | |
download | NorthstarMods-2fbac6097ed995960f7a3fd5b1b0943d78150e15.tar.gz NorthstarMods-2fbac6097ed995960f7a3fd5b1b0943d78150e15.zip |
Cleanup tracked player projectiles on round end (#219)
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut index 85cc0de5..aa14477a 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut @@ -666,6 +666,7 @@ void function CleanUpEntitiesForRoundEnd() foreach ( entity player in GetPlayerArray() ) { ClearTitanAvailable( player ) + PROTO_CleanupTrackedProjectiles( player ) player.SetPlayerNetInt( "batteryCount", 0 ) if ( IsAlive( player ) ) player.Die( svGlobal.worldspawn, svGlobal.worldspawn, { damageSourceId = eDamageSourceId.round_end } ) |