diff options
author | RoyalBlue1 <malte.hoermeyer@web.de> | 2022-07-17 04:51:00 +0200 |
---|---|---|
committer | RoyalBlue1 <malte.hoermeyer@web.de> | 2022-07-17 04:51:00 +0200 |
commit | 78a92fdae360f610302a9766e381a0fd8a3e661a (patch) | |
tree | 1418b9a3a041ab5d09538a7f961c4507bf84b37b /Northstar.CustomServers/mod/scripts/vscripts/gamemodes | |
parent | d0f226b23eae12e3b27199db673d45f37708d5fc (diff) | |
download | NorthstarMods-78a92fdae360f610302a9766e381a0fd8a3e661a.tar.gz NorthstarMods-78a92fdae360f610302a9766e381a0fd8a3e661a.zip |
Fix d0f226b23eae12e3b27199db673d45f37708d5fc
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/gamemodes')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd_events.nut | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd_events.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd_events.nut index 39fdce22..4ebbcf61 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd_events.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd_events.nut @@ -1146,7 +1146,7 @@ void function waitUntilLessThanAmountAlive(int amount) int deduct = 0 foreach (entity npc in spawnedNPCs) { - if( !IsValid ) + if( !IsValid(npc) ) { deduct++ continue @@ -1169,7 +1169,7 @@ void function waitUntilLessThanAmountAlive(int amount) deduct = 0 foreach (entity npc in spawnedNPCs) { - if( !IsValid ) + if( !IsValid(npc) ) { deduct++ continue |