Fix working if turned out (#9030)

This commit is contained in:
Dystopian 2022-09-22 21:13:47 +03:00 committed by GitHub
parent 3882367060
commit 1096bd3308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,11 @@
* Public: No * 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 false
}; };