Fixed lights are still on while lamp is hidden

This commit is contained in:
Wyqer 2019-09-05 21:06:09 +02:00
parent 88676234d1
commit 94790647c2
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
1 changed files with 1 additions and 1 deletions

View File

@ -9,8 +9,8 @@ params [
if (save_is_loaded && {(KP_liberation_clearances findIf {(_x select 0) isEqualTo _centerPos}) != -1}) exitWith {false};
{
_x switchLight "OFF";
_x hideObjectGlobal true;
_x enableSimulationGlobal false;
_x allowDamage false;
} forEach (nearestTerrainObjects [_centerPos, [], _radius, false, true]);