DisableRestartMission

Parameters
flagboolean

true to disable the button, false to allow game restarts by the player.

comment

Toggles the "Restart Mission" button (found in: Menu (F10) -> End Game).

note

This button is only enabled in singleplayer (default), you cannot enable it in multiplayer.

patch

1.07

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
nothing
Source code
native DisableRestartMission        takes boolean flag returns nothing