Santa's toy bag!

Fixed some miscellaneous stuff to prevent round-start crashing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2758 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2011-12-21 07:04:55 +00:00
parent 6ad42b9ec2
commit bbed525019
9 changed files with 815 additions and 775 deletions

View File

@@ -7,6 +7,11 @@ var/savefile/Banlist
var/id = clientvar.computer_id
var/key = clientvar.ckey
if(!Banlist) // if Banlist cannot be located for some reason
LoadBans() // try to load the bans
if(!Banlist) // uh oh, can't find bans!
return 0 // ABORT ABORT ABORT
Banlist.cd = "/base"
if (Banlist.dir.Find("[key][id]"))
Banlist.cd = "[key][id]"