mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
just fuck my shit up
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/proc/copy_logs()
|
||||
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/copy_logs() called tick#: [world.time]")
|
||||
if(config.copy_logs)
|
||||
ext_python("copy_logs.py", "data/logs \"[config.copy_logs]\"")
|
||||
@@ -2,6 +2,7 @@
|
||||
#define IRC_FLAG_ADMINHELP "ahelps"
|
||||
|
||||
/proc/send2irc(var/flag, var/msg)
|
||||
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/send2irc() called tick#: [world.time]")
|
||||
if(config.use_irc_bot)
|
||||
var/a=" --key=\"[config.comms_password]\""
|
||||
a += " --id=\"[config.irc_bot_server_id]\""
|
||||
@@ -15,7 +16,9 @@
|
||||
return
|
||||
|
||||
/proc/send2mainirc(var/msg)
|
||||
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/send2mainirc() called tick#: [world.time]")
|
||||
send2irc(IRC_FLAG_GENERAL,msg)
|
||||
|
||||
/proc/send2adminirc(var/msg)
|
||||
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/send2adminirc() called tick#: [world.time]")
|
||||
send2irc(IRC_FLAG_ADMINHELP,msg)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/proc/ext_python(var/script, var/args, var/scriptsprefix = 1, var/log_command=0)
|
||||
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ext_python() called tick#: [world.time]")
|
||||
if(scriptsprefix) script = "scripts/" + script
|
||||
|
||||
if(world.system_type == MS_WINDOWS)
|
||||
|
||||
@@ -7,6 +7,7 @@ var/global/datum/watchdog/watchdog = new
|
||||
var/chosen_map
|
||||
|
||||
/datum/watchdog/proc/check_for_update()
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/watchdog/proc/check_for_update() called tick#: [world.time]")
|
||||
if(waiting)
|
||||
return
|
||||
if(fexists(update_signal_file) == 1)
|
||||
@@ -14,6 +15,7 @@ var/global/datum/watchdog/watchdog = new
|
||||
world << "<span class='notice'>\[AUTOMATIC ANNOUNCEMENT\] Update received. Server will restart automatically after the round ends.</span>"
|
||||
|
||||
/datum/watchdog/proc/signal_ready()
|
||||
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/watchdog/proc/signal_ready() called tick#: [world.time]")
|
||||
var/signal = file(server_signal_file)
|
||||
fdel(signal)
|
||||
signal << chosen_map
|
||||
Reference in New Issue
Block a user