mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Fix diag_log when vehicle spawn limit is reached
Prevents benchmark diag_log showing negative number of vehicles spawned.
This commit is contained in:
@@ -470,6 +470,7 @@ if (_hiveLoaded) then {
|
|||||||
for "_x" from 1 to _vehLimit do {call spawn_vehicles;};
|
for "_x" from 1 to _vehLimit do {call spawn_vehicles;};
|
||||||
} else {
|
} else {
|
||||||
diag_log "HIVE: Vehicle Spawn limit reached!";
|
diag_log "HIVE: Vehicle Spawn limit reached!";
|
||||||
|
_vehLimit = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
diag_log ("HIVE: Spawning # of Debris: " + str(MaxDynamicDebris));
|
diag_log ("HIVE: Spawning # of Debris: " + str(MaxDynamicDebris));
|
||||||
|
|||||||
Reference in New Issue
Block a user