From 8286547b65dc5a2ec5f12a47587ba88fbbab02fe Mon Sep 17 00:00:00 2001 From: LordNest Date: Sat, 18 Nov 2023 10:52:27 +0400 Subject: [PATCH] overlays --- packs/infinity/items/traitor.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packs/infinity/items/traitor.dm b/packs/infinity/items/traitor.dm index 2f1c4ed5561eb..cc6a77da9167e 100644 --- a/packs/infinity/items/traitor.dm +++ b/packs/infinity/items/traitor.dm @@ -85,8 +85,7 @@ /obj/item/device/syndiejaunter/on_update_icon() . = ..() if(usable) - cached_usable = istype(cached_usable, /image) ? cached_usable : image(icon, "usable") - overlays += cached_usable + AddOverlays(image(icon, "usable")) else ClearOverlays()