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

View File

@@ -569,7 +569,8 @@ datum
if(istype(O,/obj/decal/cleanable))
del(O)
else
O.clean_blood()
if (O)
O.clean_blood()
reaction_turf(var/turf/T, var/volume)
T.overlays = null
T.clean_blood()

View File

@@ -250,6 +250,7 @@
O.show_message(text("\red [] was hit by the syringe!", M), 1)
del(D)
return
for(var/atom/A in D.loc)
if(A == user) continue

View File

@@ -442,9 +442,9 @@
relaymove(mob/user as mob)
if (user.stat)
return
for (var/mob/M in hearers(src.loc.loc))
M << "<FONT size=[max(0, 5 - get_dist(src, M))]>CLONG, clong!</FONT>"
if (src.loc)
for (var/mob/M in hearers(src.loc.loc))
M << "<FONT size=[max(0, 5 - get_dist(src, M))]>CLONG, clong!</FONT>"
playsound(src.loc, 'clang.ogg', 50, 0, 0)