From 54edfc27cd3432e021a794fe2f16eebddf409820 Mon Sep 17 00:00:00 2001 From: Mickyan Date: Thu, 30 Jan 2020 19:43:02 +0100 Subject: [PATCH] sanity fix --- code/datums/components/mood.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/datums/components/mood.dm b/code/datums/components/mood.dm index fca78464eba..1b815598104 100644 --- a/code/datums/components/mood.dm +++ b/code/datums/components/mood.dm @@ -185,13 +185,13 @@ if(7) setSanity(sanity+0.3, SANITY_UNSTABLE) if(8) - setSanity(sanity+0.4, SANITY_NEUTRAL, SANITY_MAXIMUM) + setSanity(sanity+0.4, SANITY_NEUTRAL) if(9) - setSanity(sanity+0.6, SANITY_NEUTRAL, SANITY_MAXIMUM) + setSanity(sanity+0.6, SANITY_NEUTRAL) HandleNutrition() ///Sets sanity to the specified amount and applies effects. -/datum/component/mood/proc/setSanity(amount, minimum=SANITY_INSANE, maximum=SANITY_GREAT, override = FALSE) +/datum/component/mood/proc/setSanity(amount, minimum=SANITY_INSANE, maximum=SANITY_MAXIMUM, override = FALSE) // If we're out of the acceptable minimum-maximum range move back towards it in steps of 0.5 // If the new amount would move towards the acceptable range faster then use it instead if(amount < minimum)