Runtime Fixes (#1456)

Fixes a variety of simple runtime errors
This commit is contained in:
NanakoAC
2017-01-08 23:16:38 +02:00
committed by skull132
parent f0878244b9
commit b96f954762
6 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -270,7 +270,7 @@
tankcheck = list (H.s_store, C.back, H.belt, C.r_hand, C.l_hand, H.l_store, H.r_store)
if(H.species.has_organ["phoron reserve tank"])
var/obj/item/organ/vaurca/preserve/preserve = H.internal_organs_by_name["phoron reserve tank"]
if(preserve.air_contents)
if(preserve && preserve.air_contents)
from = "in"
nicename |= "sternum"
tankcheck |= preserve