[MIRROR] makes rust visible again [MDB IGNORE] (#10510)

* makes rust visible (#63789)

* makes rust visible again

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-01-07 11:58:55 +00:00
committed by GitHub
co-authored by MrMelbert
parent 77169b759e
commit 1e2b0a4ae0
+2 -2
View File
@@ -13,7 +13,7 @@
if(!isatom(target))
return COMPONENT_INCOMPATIBLE
if(!rust_overlay)
rust_overlay = image(rust_icon, rust_icon)
rust_overlay = image(rust_icon, rust_icon_state)
ADD_TRAIT(target, TRAIT_RUSTY, ELEMENT_TRAIT(type))
RegisterSignal(target, COMSIG_ATOM_UPDATE_OVERLAYS, .proc/apply_rust_overlay)
RegisterSignal(target, COMSIG_PARENT_EXAMINE, .proc/handle_examine)
@@ -35,7 +35,7 @@
/datum/element/rust/proc/apply_rust_overlay(atom/parent_atom, list/overlays)
SIGNAL_HANDLER
overlays |= rust_overlay
overlays += rust_overlay
/// Because do_after sleeps we register the signal here and defer via an async call
/datum/element/rust/proc/secondary_tool_act(atom/source, mob/user, obj/item/item)