mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix working if turned out (#9030)
This commit is contained in:
parent
3882367060
commit
1096bd3308
@ -15,7 +15,11 @@
|
||||
* Public: No
|
||||
*/
|
||||
|
||||
if ((GVAR(mode) == MODE_NO_ACTIONS) || {!([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith))}) exitWith {
|
||||
if (
|
||||
(GVAR(mode) == MODE_NO_ACTIONS)
|
||||
|| {!([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith))}
|
||||
|| {isTurnedOut ACE_player}
|
||||
) exitWith {
|
||||
false
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user