Skip to content

Commit

Permalink
Fixed guardian decks not working afterwards if nobody signs up (#1874)
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy authored May 12, 2024
1 parent fe42235 commit e9a1562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/basic/guardian/guardian_creator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ GLOBAL_LIST_INIT(guardian_radial_images, setup_guardian_radial())
if(LAZYLEN(candidates))
var/mob/dead/observer/candidate = pick(candidates)
spawn_guardian(user, candidate, guardian_path)
used = TRUE
SEND_SIGNAL(src, COMSIG_TRAITOR_ITEM_USED(type))
else
to_chat(user, failure_message)
used = FALSE

/// Actually create our guy
/obj/item/guardian_creator/proc/spawn_guardian(mob/living/user, mob/dead/candidate, guardian_path)
Expand Down

0 comments on commit e9a1562

Please sign in to comment.