Undefined Var

This commit is contained in:
icomrade
2016-02-17 15:14:41 -05:00
parent 9362b5c6f9
commit c039644745

View File

@@ -23,9 +23,10 @@ if(_NVOn == "ON") exitwith
player setvariable ["NV",["OFF",_oldAperture]];
s_pz_player1 = player addAction ["Vision", "\z\addons\dayz_code\actions\pzombie\pz_vision.sqf", [], 0, false, true, "nightVision", "_this == _target"];
};
if (!isnil "ppColor") then {
ppEffectDestroy ppColor;
ppEffectDestroy ppBlur;
};
ppColor = ppEffectCreate ["ColorCorrections", 1999];
ppColor ppEffectEnable true;