From 46d2eff34fd92cfbf38ad296887f13b67cb061b2 Mon Sep 17 00:00:00 2001 From: AirwavesMan Date: Wed, 28 Oct 2020 12:23:59 +0100 Subject: [PATCH] Update changeCode.sqf --- SQF/dayz_code/actions/changeCode.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/changeCode.sqf b/SQF/dayz_code/actions/changeCode.sqf index 84cb32531..a67dae92d 100644 --- a/SQF/dayz_code/actions/changeCode.sqf +++ b/SQF/dayz_code/actions/changeCode.sqf @@ -5,7 +5,7 @@ if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;}; dayz_actionInProgress = true; -if (isNull cursorTarget) exitWith {systemChat localize "str_cursorTargetNotFound";}; +if (isNull cursorTarget) exitWith {dayz_actionInProgress = false; systemChat localize "str_cursorTargetNotFound";}; private ["_backupCode","_badCode","_cursorTarget","_dialog","_dir","_doorFriends","_isDoor","_isLockBox","_isSafe","_isStorage","_location","_lockCode","_object","_ownerID","_typeOf","_vector"];