mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-11 07:59:08 +01:00
Merge pull request #1338 from ArchieBeepBoop/something-about-the-insanity-trait-
Fixes a runtime with hallucinations and a thing about mindbreaker
This commit is contained in:
@@ -138,7 +138,7 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
Show()
|
||||
|
||||
/obj/effect/hallucination/simple/Destroy()
|
||||
if(target.client)
|
||||
if(target && target.client)
|
||||
target.client.images.Remove(current_image)
|
||||
active = FALSE
|
||||
return ..()
|
||||
|
||||
@@ -200,7 +200,8 @@
|
||||
pH = 11
|
||||
|
||||
/datum/reagent/toxin/mindbreaker/on_mob_life(mob/living/carbon/M)
|
||||
M.hallucination += 5
|
||||
if(!M.has_quirk(/datum/quirk/insanity))
|
||||
M.hallucination += 5
|
||||
return ..()
|
||||
|
||||
/datum/reagent/toxin/plantbgone
|
||||
|
||||
Reference in New Issue
Block a user