apply the overlay

This commit is contained in:
timothyteakettle
2020-07-21 02:37:21 +01:00
parent 1ed035e4a3
commit 47ff13c539
@@ -241,6 +241,7 @@ Auto Patrol: []"},
if(H.beepsky_fashion)
bot_hat = H
H.forceMove(src)
update_beepsky_fluff()
else
to_chat(user, "<span class='warning'>You set [H] on [src]'s head, but it falls off!</span>")
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)
. = ..()