diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-19 17:32:09 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-19 17:32:09 +0000 |
commit | f8685213baf4eef93dae6cc98c8e4a8318565bd3 (patch) | |
tree | c5bfb10ee066e5f7fb031376ddb8b435577b2991 /Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut | |
parent | 7cac56cb9bcaabed9562a7b46718f5c5de3400b8 (diff) | |
download | NorthstarMods-f8685213baf4eef93dae6cc98c8e4a8318565bd3.tar.gz NorthstarMods-f8685213baf4eef93dae6cc98c8e4a8318565bd3.zip |
fixes and dropship refactor
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut index bf21b492b..b2ce4fca9 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut @@ -648,9 +648,9 @@ void function CleanUpEntitiesForRoundEnd() foreach ( entity npc in GetNPCArray() ) if ( IsValid( npc ) ) npc.Destroy() // need this because getnpcarray includes the pettitans we just killed at this point - - foreach ( entity weapon in GetEntArrayByClass_Expensive( "weaponx" ) ) - weapon.Destroy() + + // destroy weapons + ClearDroppedWeapons() foreach ( entity battery in GetEntArrayByClass_Expensive( "item_titan_battery" ) ) battery.Destroy() |