mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Merge pull request #965 from morgoth0/patch-12
Fix check on whether DynamicDebris.sqf has run
This commit is contained in:
commit
f28812abe1
@ -12,7 +12,7 @@
|
||||
private ["_allRoads","_allowDebris","_debris","_debrisCounter","_debrisLocations","_debrisLocationsKey","_debrisLocationsTMP","_debug","_disallowedLocations","_expiresDebris","_export","_instanceID","_intersections","_marker","_maxDebrisLimit","_nearbyLocations","_newDebrisCounter","_object","_offsetX","_offsetY","_position","_response","_rng","_rngChance","_scriptHiveKey","_seed","_selectedDebris","_upperPos","_worldSize"];
|
||||
//[[[end]]]
|
||||
// exit if already ran once.
|
||||
if (isNil "EPOCH_DynamicDebrisEnabled") exitWith {};
|
||||
if !(isNil "EPOCH_DynamicDebrisEnabled") exitWith {};
|
||||
EPOCH_DynamicDebrisEnabled = true;
|
||||
_debug = false;
|
||||
_expiresDebris = 604800;
|
||||
|
Loading…
Reference in New Issue
Block a user