Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Microvolnovka19 committed Dec 22, 2024
1 parent 55738eb commit 6296ee4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tff_modular/modules/psyonics/code/documents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
original_owner = WEAKREF(human_owner)
if(original_owner && original_owner.resolve())
var/mob/living/carbon/human/owner = original_owner.resolve()
if(!istype(owner, /mob/living/carbon/human))
return
if(!owner.ispsyonic())
return
var/datum/quirk/psyonic/quirk_holder = owner.get_quirk(/datum/quirk/psyonic)
Expand Down

0 comments on commit 6296ee4

Please sign in to comment.