Being happy no longer makes you obese. (#36565)

* D O U B L E N E G A T I V E

* jesus
This commit is contained in:
Qustinnus
2018-03-21 21:34:46 +01:00
committed by CitadelStationBot
parent b4a7def5ca
commit 79911d330a
2 changed files with 3 additions and 3 deletions
@@ -1107,7 +1107,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
var/hunger_rate = HUNGER_FACTOR
GET_COMPONENT_FROM(mood, /datum/component/mood, H)
if(mood && mood.sanity > SANITY_DISTURBED)
hunger_rate *= min(0.5, 1 - 0.002 * mood.sanity) //0.85 to 0.75
hunger_rate *= max(0.5, 1 - 0.002 * mood.sanity) //0.85 to 0.75
if(H.satiety > 0)
H.satiety--