aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-19 17:32:09 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-19 17:32:09 +0000
commitf8685213baf4eef93dae6cc98c8e4a8318565bd3 (patch)
treec5bfb10ee066e5f7fb031376ddb8b435577b2991 /Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut
parent7cac56cb9bcaabed9562a7b46718f5c5de3400b8 (diff)
downloadNorthstarMods-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.nut6
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()