[MIRROR] Logs the round ID (#920)
* Logs the round ID * commit * Update world.dm * Delete world.dm.rej
This commit is contained in:
committed by
Poojawa
parent
b07bfb1760
commit
30279b7f55
+6
-4
@@ -54,17 +54,19 @@
|
||||
if(fexists(GLOB.config_error_log))
|
||||
fcopy(GLOB.config_error_log, "[GLOB.log_directory]/config_error.log")
|
||||
fdel(GLOB.config_error_log)
|
||||
|
||||
|
||||
if(GLOB.round_id)
|
||||
log_game("Round ID: [GLOB.round_id]")
|
||||
|
||||
GLOB.revdata.DownloadPRDetails()
|
||||
load_mode()
|
||||
load_motd()
|
||||
load_admins()
|
||||
load_menu()
|
||||
//disabled to prevent runtimes until it's fixed
|
||||
// load_mentors()
|
||||
if(config.usewhitelist)
|
||||
load_whitelist()
|
||||
//disabled to prevent runtimes until it's fixed
|
||||
// load_mentors()
|
||||
LoadBans()
|
||||
|
||||
GLOB.timezoneOffset = text2num(time2text(0,"hh")) * 36000
|
||||
@@ -205,6 +207,7 @@
|
||||
#undef CHAT_PULLR
|
||||
|
||||
#define WORLD_REBOOT(X) log_world("World rebooted at [time_stamp()]"); ..(X); return;
|
||||
|
||||
/world/Reboot(var/reason, var/feedback_c, var/feedback_r, var/time)
|
||||
if (reason == 1) //special reboot, do none of the normal stuff
|
||||
if (usr)
|
||||
@@ -237,7 +240,6 @@
|
||||
WORLD_REBOOT(0)
|
||||
#undef WORLD_REBOOT
|
||||
|
||||
|
||||
/world/proc/OnReboot(reason, feedback_c, feedback_r, round_end_sound_sent)
|
||||
SSblackbox.set_details("[feedback_c]","[feedback_r]")
|
||||
log_game("<span class='boldannounce'>Rebooting World. [reason]</span>")
|
||||
|
||||
Reference in New Issue
Block a user