Skip to content

Commit

Permalink
[MIRROR] Fixes manual revenant event trigger [MDB IGNORE] (#24483)
Browse files Browse the repository at this point in the history
* Fixes manual revenant event trigger (#79104)

## About The Pull Request

Continuing the work of
tgstation/tgstation#78910, there was another
place that got missed. Observers don't have minds so this will cause a
runtime.

Fixes Skyrat-SS13/Skyrat-tg#24407

## Why It's Good For The Game

Being able to admin spawn revenants again is nice

## Changelog

:cl:
fix: admin triggering the Revenant event now works again
/:cl:

* Fixes manual revenant event trigger

---------

Co-authored-by: Bloop <[email protected]>
  • Loading branch information
2 people authored and FFMirrorBot committed Oct 21, 2023
1 parent a9d96ac commit 1ab3422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/events/ghost_role/revenant_event.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
return MAP_ERROR

var/mob/living/basic/revenant/revvie = new(pick(spawn_locs))
selected.mind.transfer_to(revvie)
revvie.key = selected.key
message_admins("[ADMIN_LOOKUPFLW(revvie)] has been made into a revenant by an event.")
revvie.log_message("was spawned as a revenant by an event.", LOG_GAME)
spawned_mobs += revvie
Expand Down

0 comments on commit 1ab3422

Please sign in to comment.