Makes round restart vote instant (#51488)

* a

* a
This commit is contained in:
TiviPlus
2020-06-09 15:43:18 +08:00
committed by GitHub
parent a0b54fc00f
commit 0b45b00ee6
+1 -1
View File
@@ -146,7 +146,7 @@ SUBSYSTEM_DEF(vote)
active_admins = TRUE
break
if(!active_admins)
SSticker.Reboot("Restart vote successful.", "restart vote")
SSticker.Reboot("Restart vote successful.", "restart vote", 1) //no delay in case the restart is due to lag
else
to_chat(world, "<span style='boldannounce'>Notice:Restart vote will not restart the server automatically because there are active admins on.</span>")
message_admins("A restart vote has passed, but there are active admins on with +server, so it has been canceled. If you wish, you may restart the server.")