Fix diag_log when vehicle spawn limit is reached

Prevents benchmark diag_log showing negative number of vehicles spawned.
This commit is contained in:
ebaydayz
2016-09-07 11:18:37 -04:00
parent 771284a297
commit 4731780f5a

View File

@@ -470,6 +470,7 @@ if (_hiveLoaded) then {
for "_x" from 1 to _vehLimit do {call spawn_vehicles;};
} else {
diag_log "HIVE: Vehicle Spawn limit reached!";
_vehLimit = 0;
};
diag_log ("HIVE: Spawning # of Debris: " + str(MaxDynamicDebris));