Merge pull request #35374 from AutomaticFrenzy/patch/pressure

Fix pressure damage not taking effect properly
This commit is contained in:
vuonojenmustaturska
2018-02-07 12:56:20 +02:00
committed by CitadelStationBot
parent d6f916f37b
commit 9bb3ce1931

View File

@@ -1622,8 +1622,6 @@ GLOBAL_LIST_EMPTY(roundstart_races)
//Body temperature is adjusted in two parts: first there your body tries to naturally preserve homeostasis (shivering/sweating), then it reacts to the surrounding environment
//Thermal protection (insulation) has mixed benefits in two situations (hot in hot places, cold in hot places)
if(!H.on_fire) //If you're on fire, you do not heat up or cool down based on surrounding gases
if((abs(BODYTEMP_NORMAL - H.bodytemperature) <= 5) && (abs(BODYTEMP_NORMAL - loc_temp) <= 25))
return //Performance saver
var/natural = 0
if(H.stat != DEAD)
natural = H.natural_bodytemperature_stabilization()