diff --git a/code/game/objects/items/robot/robot_items.dm b/code/game/objects/items/robot/robot_items.dm index b0627d86014..dbb9892b35f 100644 --- a/code/game/objects/items/robot/robot_items.dm +++ b/code/game/objects/items/robot/robot_items.dm @@ -63,8 +63,12 @@ Keeping it in for adminabuse but the malf one is /obj/item/melee/baton/borg_stun UnregisterSignal(user, COMSIG_MOVABLE_MOVED) UnregisterSignal(src, COMSIG_CYBORG_ITEM_DEACTIVATED) braced = !braced + update_icon(UPDATE_ICON_STATE) return ITEM_INTERACT_COMPLETE +/obj/item/borg/push_broom/update_icon_state() + icon_state = "[base_icon_state][braced]" + /obj/item/borg/push_broom/interact_with_atom(atom/target, mob/living/user, list/modifiers) // Can we sweep it? No? Violence is the solution. if(!isitem(target) && !isturf(target)) @@ -76,6 +80,7 @@ Keeping it in for adminabuse but the malf one is /obj/item/melee/baton/borg_stun /obj/item/borg/push_broom/proc/stow_broom(datum/source, mob/user) SIGNAL_HANDLER // COMSIG_CYBORG_ITEM_DEACTIVATED braced = FALSE + update_icon(UPDATE_ICON_STATE) to_chat(user, SPAN_NOTICE("You unbrace [src] and stow it away.")) UnregisterSignal(user, COMSIG_MOVABLE_MOVED) UnregisterSignal(src, COMSIG_CYBORG_ITEM_DEACTIVATED) diff --git a/code/game/objects/items/weapons/twohanded.dm b/code/game/objects/items/weapons/twohanded.dm index eb3eefa8072..260ce384222 100644 --- a/code/game/objects/items/weapons/twohanded.dm +++ b/code/game/objects/items/weapons/twohanded.dm @@ -780,7 +780,7 @@ unwield_callback = CALLBACK(src, PROC_REF(unwield))) /obj/item/push_broom/update_icon_state() - icon_state = "broom0" + icon_state = "[base_icon_state]0" /obj/item/push_broom/proc/wield(obj/item/source, mob/user) to_chat(user, SPAN_NOTICE("You brace [src] against the ground in a firm sweeping stance."))