Skip to content

Commit

Permalink
Morphs now properly update their name tags when disgusing (#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy authored Jun 16, 2024
1 parent 0176289 commit b0e5ecf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions monkestation/code/datums/actions/mobs/assume_form.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/datum/action/cooldown/mob_cooldown/assume_form/assume_appearances(atom/movable/target_atom)
. = ..()
owner?.update_name_tag()

/datum/action/cooldown/mob_cooldown/assume_form/reset_appearances()
. = ..()
owner?.update_name_tag()
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -5728,6 +5728,7 @@
#include "monkestation\code\datums\stamina_container.dm"
#include "monkestation\code\datums\twitch_data.dm"
#include "monkestation\code\datums\achievements\misc_achievements.dm"
#include "monkestation\code\datums\actions\mobs\assume_form.dm"
#include "monkestation\code\datums\ai\idle_behaviors\idle_dukeman.dm"
#include "monkestation\code\datums\ai\monkey\dukeman_controller.dm"
#include "monkestation\code\datums\ai_laws\laws_monke.dm"
Expand Down

0 comments on commit b0e5ecf

Please sign in to comment.