Skip to content

Commit

Permalink
mods can restart the server without starting the round (#4665)
Browse files Browse the repository at this point in the history
with the weird issues we've been accumulating lately which require a
lobby restart this check is just annoying our mods and tadmins

:cl:
admin: administrators without R_DEBUG can now restart the server without
starting the round
/:cl:
  • Loading branch information
harryob authored Oct 14, 2023
1 parent 8b326c1 commit 61cb689
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions code/modules/admin/tabs/server_tab.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
if (!usr.client.admin_holder || !(usr.client.admin_holder.rights & R_MOD))
return

if(!check_rights(R_DEBUG, FALSE) && SSticker.current_state != GAME_STATE_FINISHED)
to_chat(usr, "You can't restart the world until the round has ended!")
return

var/confirm = alert("Restart the game world?", "Restart", "Yes", "Cancel")
if(confirm == "Cancel")
return
Expand Down

0 comments on commit 61cb689

Please sign in to comment.