From 55a61a67f351421c2f6632e57818d6978a8e4e1f Mon Sep 17 00:00:00 2001 From: Necaladun Date: Sun, 22 Jun 2014 08:17:34 +0930 Subject: [PATCH] negative hallucination amounts is bad thanks UC. Negative hallucinations may result in people seeing too much reality. --- code/modules/reagents/Chemistry-Reagents-Antidepressants.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/Chemistry-Reagents-Antidepressants.dm b/code/modules/reagents/Chemistry-Reagents-Antidepressants.dm index d4d26349a82..5e01b59f521 100644 --- a/code/modules/reagents/Chemistry-Reagents-Antidepressants.dm +++ b/code/modules/reagents/Chemistry-Reagents-Antidepressants.dm @@ -39,7 +39,7 @@ on_mob_life(var/mob/living/M as mob) if(!M) M = holder.my_atom - M.hallucination -= 10 + M.hallucination = max(0, M.hallucination - 10) if(src.volume <= 0.1) if(data != -1) data = -1 M << "\red Your mind feels a little less stable.."