From 47ff13c539d3ab5a1f8c305ddf48b845602ec78e Mon Sep 17 00:00:00 2001 From: timothyteakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Tue, 21 Jul 2020 02:37:21 +0100 Subject: [PATCH] apply the overlay --- code/modules/mob/living/simple_animal/bot/secbot.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/bot/secbot.dm b/code/modules/mob/living/simple_animal/bot/secbot.dm index 94c4e3251c..c03b36d087 100644 --- a/code/modules/mob/living/simple_animal/bot/secbot.dm +++ b/code/modules/mob/living/simple_animal/bot/secbot.dm @@ -241,6 +241,7 @@ Auto Patrol: []"}, if(H.beepsky_fashion) bot_hat = H H.forceMove(src) + update_beepsky_fluff() else to_chat(user, "You set [H] on [src]'s head, but it falls off!") H.forceMove(drop_location()) @@ -254,7 +255,8 @@ Auto Patrol: []"}, /mob/living/simple_animal/bot/secbot/regenerate_icons() ..() if(bot_hat) - add_overlay(bot_hat.beepsky_fashion.get_overlay()) + var/datum/beepsky_fashion/fashion = new bot_hat.beepsky_fashion + add_overlay(fashion.get_overlay()) /mob/living/simple_animal/bot/secbot/emag_act(mob/user) . = ..()