Skip to content

Commit

Permalink
Update xenoartifact_minors.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerfulBacon committed Feb 1, 2025
1 parent 5c08cee commit 533a706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/xenoarchaeology/traits/xenoartifact_minors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@

/datum/action/xeno_senitent_action/New(master)
. = ..()
if (istype(master, /obj/item/xenoartifact))
if (!istype(master, /obj/item/xenoartifact))
CRASH("Xeno artifact action assigned to a non-xeno artifact")

/datum/action/xeno_senitent_action/on_activate(mob/user, atom/target)
Expand Down Expand Up @@ -201,7 +201,7 @@

CREATION_TEST_IGNORE_SUBTYPES(/obj/effect/mob_spawn/sentient_artifact)

/obj/effect/mob_spawn/sentient_artifact/Initialize(mapload, var/obj/item/xenoartifact/Z)
/obj/effect/mob_spawn/sentient_artifact/Initialize(mapload, obj/item/xenoartifact/Z)
if(!Z)
qdel(src)
return FALSE
Expand Down

0 comments on commit 533a706

Please sign in to comment.