From 3e42af0bb42faac4e066d891080f6c7fd23fb840 Mon Sep 17 00:00:00 2001 From: Mikeeeyy Date: Wed, 13 Aug 2014 14:10:43 +0100 Subject: [PATCH] Fix Maintain Area/Preview not disappearing When players would look at a plot pole, they would get the maintain/preview option and if they looked away they would still have it. --- SQF/dayz_code/compile/fn_selfActions.sqf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 94665a745..956dc5ec5 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -866,6 +866,10 @@ if (!isNull cursorTarget && !_inVehicle && !_isPZombie && (player distance curso s_player_SurrenderedGear = -1; //Others + player removeAction s_player_maintain_area; + s_player_maintain_area = -1; + player removeAction s_player_maintain_area_preview; + s_player_maintain_area_preview = -1; player removeAction s_player_forceSave; s_player_forceSave = -1; player removeAction s_player_flipveh;