From c4300e6feb11dd699aa197fd837a5417001382c0 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Tue, 8 Oct 2013 03:03:17 -0500 Subject: [PATCH] logic incorrect --- SQF/dayz_code/actions/player_buildingDowngrade.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/player_buildingDowngrade.sqf b/SQF/dayz_code/actions/player_buildingDowngrade.sqf index f88f93d4a..918d27ca9 100644 --- a/SQF/dayz_code/actions/player_buildingDowngrade.sqf +++ b/SQF/dayz_code/actions/player_buildingDowngrade.sqf @@ -58,7 +58,7 @@ _obj = _this select 3; // Current charID _objectCharacterID = _obj getVariable ["CharacterID","0"]; -if(!DZE_Lock_Door == _objectCharacterID) exitWith { TradeInprogress = false; cutText ["Unable to downgrade you do not know the combination." , "PLAIN DOWN"]; }; +if(DZE_Lock_Door != _objectCharacterID) exitWith { TradeInprogress = false; cutText ["Unable to downgrade you do not know the combination." , "PLAIN DOWN"]; }; // Find objectID _objectID = _obj getVariable ["ObjectID","0"];