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:
elly1989@rocketmail.com
2012-05-03 06:45:01 +00:00
parent 78e583e511
commit 4a21640c85

View File

@@ -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()