Fixed Typo that caused erors restoring hidden objects

This commit is contained in:
Chris Cardozo
2020-09-27 08:30:50 -04:00
parent 3ce58656c5
commit 6233e8a9a8
2 changed files with 4 additions and 3 deletions

View File

@ -169,8 +169,9 @@ for "_i" from 1 to (count blck_activeMissionsList) do
_temp = [_coords, _missionLandscape] call blck_fnc_spawnCompositionObjects;
};
_objects append [_temp select 0];
_hiddenObjects append [_temp select 1];
_objects append (_temp select 0);
_hiddenObjects append (_temp select 1);
uiSleep delayTime;
_temp = [_coords,_simpleObjects,true] call blck_fnc_spawnSimpleObjects;

View File

@ -14,7 +14,6 @@
private ["_start","_maxHeight","_smokeShell","_light","_lightSource"];
params[["_crate",objNull],["_time",60]];
//diag_log format["_signalEnd: _crate = %1 | _time = %2",_crate,_time];
_smokeShell = selectRandom ["SmokeShellOrange","SmokeShellBlue","SmokeShellPurple","SmokeShellRed","SmokeShellGreen","SmokeShellYellow"];
_lightSource = selectRandom ["Chemlight_green","Chemlight_red","Chemlight_yellow","Chemlight_blue"];
@ -28,4 +27,5 @@ if(sunOrMoon < 0.2) then
_light setPosATL (getPosATL _crate);
_light attachTo [_crate,[0,0,(0.55)]];
};
blck_illuminatedCrates pushBack [_crate,_smoke,_light,_smokeShell,_lightSource,diag_tickTime + 120, diag_tickTime + 300];