Missing blood_DNA now goes into admin logs and stuff.

This commit is contained in:
SkyMarshal
2012-02-15 10:26:22 -07:00
parent b5c1d99471
commit 58d7da9008
2 changed files with 14 additions and 5 deletions
+2 -1
View File
@@ -103,7 +103,8 @@
if ((usr.mutations & CLUMSY) && prob(50)) t = "funny-looking"
if(!blood_DNA)
var/turf/Z = get_turf(src)
world << "\red ERROR: [src] at [Z.x], [Z.y], [Z.z] is missing it's blood_DNA list! Tell a dev!"
message_admins("\red ERROR: [src] at [Z.x], [Z.y], [Z.z] is missing it's blood_DNA list!")
log_game("\red ERROR: [src] at [Z.x], [Z.y], [Z.z] is missing it's blood_DNA list!")
return
usr << text("This is a []\icon[][]. It is a [] item.", !src.blood_DNA.len ? "" : "bloody ",src, src.name, t)
if(src.desc)