diff --git a/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp b/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp index 82520e5e..ef607911 100644 --- a/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp +++ b/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp @@ -29,7 +29,7 @@ class veh_unLock }; class player_inspect { - condition = "true"; + condition = "!dyna_inVehicle"; action = "call EPOCH_lootTrash;"; icon = "x\addons\a3_epoch_code\Data\UI\buttons\player_inspect.paa"; tooltip = "Examine"; @@ -51,7 +51,7 @@ class player_group_requests class base_mode_enable { - condition = "EPOCH_buildMode in [0,2] && EPOCH_playerEnergy > 0"; + condition = "EPOCH_buildMode in [0,2] && EPOCH_playerEnergy > 0 && !dyna_inVehicle"; action = "EPOCH_stabilityTarget = objNull;EPOCH_buildMode = 1;['Build Mode: Enabled Snap alignment', 5] call Epoch_message;EPOCH_buildDirection = 0;"; icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_maintain.paa"; tooltip = "Build Mode: Snap alignment";