mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Possibly close multiple dialogs when interact_menu is opened
This commit is contained in:
parent
65d3e312d1
commit
70ffefde10
@ -13,7 +13,9 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
if(!GVAR(keyDown)) then {
|
||||
closeDialog 0;
|
||||
while {dialog} do {
|
||||
closeDialog 0;
|
||||
};
|
||||
|
||||
// Only interact with others if on foot
|
||||
if (vehicle ACE_player != ACE_player) exitWith {};
|
||||
|
@ -13,7 +13,9 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
if(!GVAR(keyDownSelfAction)) then {
|
||||
closeDialog 0;
|
||||
while {dialog} do {
|
||||
closeDialog 0;
|
||||
};
|
||||
|
||||
GVAR(keyDownSelfAction) = true;
|
||||
GVAR(keyDown) = false;
|
||||
|
Loading…
Reference in New Issue
Block a user