Fix FRIES being applied when attribute unchecked (#5926)

This commit is contained in:
SilentSpike
2017-12-18 16:30:36 +00:00
committed by jonpas
parent 1385f12542
commit 0a31a24fdf

View File

@ -4,7 +4,7 @@
control = "Checkbox"; \ control = "Checkbox"; \
displayName = CSTRING(Eden_equipFRIES); \ displayName = CSTRING(Eden_equipFRIES); \
tooltip = CSTRING(Eden_equipFRIES_Tooltip); \ tooltip = CSTRING(Eden_equipFRIES_Tooltip); \
expression = QUOTE([_this] call FUNC(equipFRIES)); \ expression = QUOTE(if (_value) then {[_this] call FUNC(equipFRIES)}); \
typeName = "BOOL"; \ typeName = "BOOL"; \
condition = "objectVehicle"; \ condition = "objectVehicle"; \
defaultValue = false; \ defaultValue = false; \