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.

return type
nothing
Source code
native DisableRestartMission        takes boolean flag returns nothing
Source
common.j
wc3modding.com
DisableRestartMission