Fixed a bug where exit/restart code ran twice

No idea why I wrote the code that way...

OnGameModeExit should take care of restarts and server shutdowns anyway,
the other function (RestartGamemode) is merely a hook for the RCON
command.