adds prompt and logging to trigger map rotation verb

This commit is contained in:
MrStonedOne
2015-10-06 21:20:35 -07:00
parent e27e9e8371
commit 1f7234d3bb

View File

@@ -1,6 +1,11 @@
/client/proc/forcerandomrotate()
set category = "Server"
set name = "Trigger Random Map Rotation"
var/rotate = alert("Force a random map rotation to trigger?", "Rotate map?", "Yes", "Cancel")
if (rotate != "Yes")
return
message_admins("[key_name_admin(usr)] is forcing a random map rotation.")
log_admin("[key_name(usr)] is forcing a random map rotation.")
ticker.maprotatechecked = 1
maprotate()