mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Copy_logs fixes.
This commit is contained in:
@@ -64,6 +64,7 @@
|
||||
var/ToRban = 0
|
||||
var/automute_on = 0 //enables automuting/spam prevention
|
||||
var/jobs_have_minimal_access = 0 //determines whether jobs use minimal access or expanded access.
|
||||
var/copy_logs = null
|
||||
|
||||
var/cult_ghostwriter = 1 //Allows ghosts to write in blood in cult rounds...
|
||||
var/cult_ghostwriter_req_cultists = 10 //...so long as this many cultists are active.
|
||||
@@ -479,7 +480,7 @@
|
||||
if("assistant_ratio")
|
||||
config.assistantratio = text2num(value)
|
||||
if("copy_logs")
|
||||
copy_logs(value) // Just copy the logs.
|
||||
copy_logs=value
|
||||
else
|
||||
diary << "Unknown setting in configuration: '[name]'"
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ datum/controller/game_controller/proc/setup()
|
||||
// notify the other process that we started up
|
||||
socket_talk.send_raw("type=startup")
|
||||
|
||||
copy_logs() // Just copy the logs.
|
||||
|
||||
createRandomZlevel()
|
||||
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
/proc/copy_logs(var/where)
|
||||
ext_python("copy_logs.py", "data/logs \"[where]\"")
|
||||
if(config.copy_logs)
|
||||
ext_python("copy_logs.py", "data/logs \"[config.copy_logs]\"")
|
||||
Reference in New Issue
Block a user