mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Close dialogs when pressing the interaction k
This commit is contained in:
parent
50f5e2c858
commit
f64092f09c
@ -13,6 +13,7 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
if(!GVAR(keyDown)) then {
|
||||
closeDialog 0;
|
||||
|
||||
// Only interact with others if on foot
|
||||
if (vehicle ACE_player != ACE_player) exitWith {};
|
||||
|
@ -13,6 +13,8 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
if(!GVAR(keyDownSelfAction)) then {
|
||||
closeDialog 0;
|
||||
|
||||
GVAR(keyDownSelfAction) = true;
|
||||
GVAR(keyDown) = false;
|
||||
GVAR(keyDownTime) = diag_tickTime;
|
||||
|
Loading…
Reference in New Issue
Block a user