DisableRestartMission
- Parameters
-
flag boolean
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 (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native DisableRestartMission takes boolean flag returns nothing