mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
The revision number the server is running (fetched by getrev.dm at startup) is now output to the world.log (and hence any runtimes people may be logging).
This'll help with bug reporting/fixing and such. Credits go to Pete for informing me about world.log :P git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3544 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -14,6 +14,7 @@ var/global/datum/getrev/revdata = new("config/svndir.txt")
|
||||
var/revhref
|
||||
|
||||
proc/abort()
|
||||
world.log << "Unable to get revision info."
|
||||
spawn()
|
||||
del src
|
||||
|
||||
@@ -58,6 +59,7 @@ var/global/datum/getrev/revdata = new("config/svndir.txt")
|
||||
return abort()
|
||||
revision = filelist[4]
|
||||
commiter = filelist[12]
|
||||
world.log << "Running TG Revision Number: [revision]."
|
||||
diary << "Revision info loaded succesfully"
|
||||
return
|
||||
return abort()
|
||||
|
||||
Reference in New Issue
Block a user