Skip to content

Commit

Permalink
Fixes ghost emote spam (Aurorastation#9353)
Browse files Browse the repository at this point in the history
Mobs created to use for ghost appearance were dummies instead of mannequins, which made them process. Epic.
  • Loading branch information
NonQueueingMatt authored Jul 13, 2020
1 parent 57da32a commit 3babdc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/datums/records.dm
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
/datum/record/general/New(var/mob/living/carbon/human/H, var/nid)
..()
if (!H)
var/mob/living/carbon/human/dummy = SSmob.get_mannequin("New record")
var/mob/living/carbon/human/dummy/mannequin/dummy = SSmob.get_mannequin("New record")
photo_front = getFlatIcon(dummy, SOUTH, always_use_defdir = TRUE)
photo_side = getFlatIcon(dummy, WEST, always_use_defdir = TRUE)
else
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/abstract/new_player/menu.dm
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
observer.timeofdeath = world.time // Set the time of death so that the respawn timer works correctly.

announce_ghost_joinleave(src)
var/mob/living/carbon/human/dummy/mannequin = new
var/mob/living/carbon/human/dummy/mannequin/mannequin = new
client.prefs.dress_preview_mob(mannequin)
observer.appearance = mannequin
observer.alpha = 127
Expand Down

0 comments on commit 3babdc4

Please sign in to comment.