Skip to content

Commit 6bd162a

Browse files
DomT602Jason2605
authored andcommitted
Respawn button on escape menu (#598)
* Disable button if conditions aren't met * Illegal use of tabs
1 parent a6783d8 commit 6bd162a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Altis_Life.Altis/core/functions/fn_onGameInterrupt.sqf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ private _topButton = _display displayCtrl 2;
1616

1717
_abortButton ctrlEnable false;
1818
_abortButton buttonSetAction "call SOCK_fnc_updateRequest; [player] remoteExec [""TON_fnc_cleanupRequest"",2];";
19-
_respawnButton ctrlEnable false;
2019
_fieldManual ctrlEnable false;
2120
_saveButton ctrlEnable false;
2221

@@ -43,4 +42,6 @@ if (_conditions) then {
4342
_abortButton ctrlSetText localize "STR_DISP_INT_ABORT";
4443
_abortButton ctrlEnable true;
4544
};
45+
} else {
46+
_respawnButton ctrlEnable false;
4647
};

0 commit comments

Comments
 (0)