mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
fixes glass business card overlays (#12893)
This commit is contained in:
@@ -41,6 +41,12 @@
|
||||
var/last_flash = 0 //spam limiter
|
||||
can_fold = FALSE
|
||||
|
||||
/obj/item/paper/business_card/update_icon()
|
||||
. = ..()
|
||||
if(worn_overlay)
|
||||
cut_overlays()
|
||||
add_overlay(overlay_image(icon, worn_overlay, flags=RESET_COLOR))
|
||||
|
||||
/obj/item/paper/business_card/attack_self(mob/living/user)
|
||||
if(last_flash <= world.time - 20)
|
||||
last_flash = world.time
|
||||
|
||||
Reference in New Issue
Block a user