prevents toxloss and oxyloss for silicons

fixes #3595
stops adjustToxLoss working on silicons, and only allows adjustOxyLoss
when suiciding

Have checked through, nowhere that shouldn't be is directly setting
toxloss and oxyloss, and the only place that uses the setters to set it
to anything other than 0 (statues) doesn't affect silicon based life, so
this will fix the found bug and any other situations is could happen in
This commit is contained in:
VampyrBytes
2016-02-14 07:44:42 +00:00
parent 68794be90c
commit 02f3db4183
@@ -340,3 +340,10 @@
for(var/obj/machinery/camera/C in A.cameras())
cameratext += "[(cameratext == "")? "" : "|"]<A HREF=?src=\ref[src];switchcamera=\ref[C]>[C.c_tag]</A>"
src << "[A.alarm_name()]! ([(cameratext)? cameratext : "No Camera"])"
/mob/living/silicon/adjustToxLoss(var/amount)
return
/mob/living/silicon/adjustOxyLoss(var/amount)
if (suiciding)
..()