Runtime fix

Was creating runtimes upon the application of brute with a severed head.
Fixed now.
This commit is contained in:
skull132
2015-06-02 19:03:24 +03:00
parent 4b4586d413
commit 58b504af2b
@@ -56,7 +56,10 @@
if(species && species.has_organ["brain"])
var/datum/organ/internal/brain/sponge = internal_organs_by_name["brain"]
brainloss = min(sponge.damage,maxHealth*2)
if(sponge)
brainloss = min(sponge.damage,maxHealth*2)
else
brainloss = 200
else
brainloss = 0
return brainloss