From 03bf3afede57e7697bbc4ba010f8d293bccf453e Mon Sep 17 00:00:00 2001 From: sarcoph <83266791+sarcoph@users.noreply.github.com> Date: Thu, 5 May 2022 03:07:13 -0800 Subject: [PATCH] getpercentaroused a little more sane to read --- modular_citadel/code/modules/arousal/arousal.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modular_citadel/code/modules/arousal/arousal.dm b/modular_citadel/code/modules/arousal/arousal.dm index 3da56d68b..d465c1f61 100644 --- a/modular_citadel/code/modules/arousal/arousal.dm +++ b/modular_citadel/code/modules/arousal/arousal.dm @@ -112,7 +112,7 @@ * despite the name of this, it actually returns a number between 0 and 100 */ /mob/living/proc/getPercentAroused() - var/percentage = ((100 / max_arousal) * arousalloss) + var/percentage = ((arousalloss / max_arousal) * 100) return percentage /mob/living/proc/isPercentAroused(percentage)//returns true if the mob's arousal (measured in a percent of 100) is greater than the arg percentage.