Fixed a bunch of the runtime errors cropping up in the server logs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@175 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-09-26 01:55:42 +00:00
parent 6cb50d4184
commit 26bc2276f4
20 changed files with 90 additions and 70 deletions
+3 -2
View File
@@ -219,8 +219,9 @@
return safe.attackby(W, user)
if ((!( shielded ) || !( W.flags ) & 32))
spawn( 0 )
W.attack(src, user)
return
if (W)
W.attack(src, user)
return
return
+2 -1
View File
@@ -128,8 +128,9 @@
O.invisibility = 0
O.name = "Cyborg"
O.real_name = "Cyborg"
O.lastKnownIP = src.brain.owner.client.address
if (src.brain.owner.client)
O.lastKnownIP = src.brain.owner.client.address
src.brain.owner.client.mob = O
else
for(var/mob/dead/observer/G in world)
+2 -1
View File
@@ -130,7 +130,8 @@
user.show_message("\blue The timer is now secured!", 1)
else
user.show_message("\blue The timer is now unsecured!", 1)
src.part2.status = src.status
if (src.part2)
src.part2.status = src.status
src.add_fingerprint(user)
return