mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 22:28:44 +01:00
[MIRROR] Ports TG Anomalies (#12105)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Guti
Cameron Lennox
parent
e7feab24f7
commit
7971b00c5d
@@ -49,7 +49,7 @@ Gunshots/explosions/opening doors/less rare audio (done)
|
||||
// Traditional hallucinations
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/mob/living/carbon/proc/handle_hallucinations()
|
||||
if(get_hallucination_component() || !client)
|
||||
if(get_hallucination_component() || !client || HAS_TRAIT(src, TRAIT_MADNESS_IMMUNE))
|
||||
return
|
||||
LoadComponent(/datum/component/hallucinations)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user