diff --git a/code/_compile_options.dm b/code/_compile_options.dm
index b4d60d75401..4f4fef2c952 100644
--- a/code/_compile_options.dm
+++ b/code/_compile_options.dm
@@ -57,5 +57,5 @@
#ifndef SERVERTOOLS
-#define SERVERTOOLS 1
+#define SERVERTOOLS 0
#endif
diff --git a/code/controllers/subsystem/ticker.dm b/code/controllers/subsystem/ticker.dm
index 925a3383440..fa91e9de1d2 100644
--- a/code/controllers/subsystem/ticker.dm
+++ b/code/controllers/subsystem/ticker.dm
@@ -464,17 +464,17 @@ var/datum/subsystem/ticker/ticker
queue_delay = 0
/datum/subsystem/ticker/proc/check_maprotate(var/force = 0)
- if (!config.maprotation && !force)
+ if (!config.maprotation || !SERVERTOOLS)
return
- if ((SSshuttle.emergency.mode != SHUTTLE_ESCAPE || SSshuttle.canRecall()) && !force)
+ if (SSshuttle.emergency.mode != SHUTTLE_ESCAPE || SSshuttle.canRecall())
return
- if (maprotatechecked && !force)
+ if (maprotatechecked)
return
maprotatechecked = 1
//map rotate chance is length of the round (in minutes) divided by 2
- if (!prob((world.time/600)/2) && !force)
+ if (!prob((world.time/600)/2))
return
var/players = clients.len
@@ -523,13 +523,13 @@ var/datum/subsystem/ticker/ticker
if (0)
var/datum/votablemap/VM = config.maplist[pickedmap]
world << "Map rotation has choosen [VM.friendlyname] for next round!"
- if (1)
+ if (11)
message_admins("Failed to rotate map: Map rotator script couldn't find file listing new map")
log_game("Failed to rotate map: Map rotator script couldn't find file listing new map")
- if (2)
+ if (12)
message_admins("Failed to rotate map: Map rotator script couldn't find tgstation-tools framework")
log_game("Failed to rotate map: Map rotator script couldn't find tgstation-tools framework")
- if (3)
+ if (13)
message_admins("Failed to rotate map: Could not compile new map:[pickedmap]")
log_game("Failed to rotate map: Could not compile new map:[pickedmap]")
else
diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm
index a44b767179f..e8e18041d66 100644
--- a/code/modules/client/preferences.dm
+++ b/code/modules/client/preferences.dm
@@ -357,7 +357,21 @@ var/global/list/special_roles = list( //keep synced with the defines BE_* in set
dat += "Ghost Form: [ghost_form]
"
if (SERVERTOOLS && config.maprotation)
- dat += "Preferred Map: [preferred_map ? preferred_map : "Default[config.defaultmap ? " ([config.defaultmap.friendlyname])":""]"]"
+ var/p_map = preferred_map
+ if (!p_map)
+ p_map = "Default"
+ if (config.defaultmap)
+ p_map += " ([config.defaultmap.friendlyname])"
+ else
+ if (p_map in config.maplist)
+ var/datum/votablemap/VM = config.maplist[p_map]
+ if (!VM)
+ p_map += " (No longer exists)"
+ else
+ p_map = VM.friendlyname
+ else
+ p_map += " (No longer exists)"
+ dat += "Preferred Map: [p_map]"
dat += "