mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Add missing UpdateButtonIcon() calls (#22162)
Some calls to UpdateButtonIcon() were missed from https://github.com/tgstation/tgstation/pull/63836 Fixes #22161.
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
if(!ready && left_click)
|
||||
ready = TRUE
|
||||
button_icon_state = "activate-ready"
|
||||
UpdateButtonIcon()
|
||||
addtimer(CALLBACK(src, PROC_REF(reset_ready)), 3 SECONDS)
|
||||
return
|
||||
var/obj/item/mod/control/mod = target
|
||||
@@ -59,6 +60,7 @@
|
||||
/datum/action/item_action/mod/activate/proc/reset_ready()
|
||||
ready = FALSE
|
||||
button_icon_state = initial(button_icon_state)
|
||||
UpdateButtonIcon()
|
||||
|
||||
/datum/action/item_action/mod/module
|
||||
name = "Toggle Module"
|
||||
|
||||
Reference in New Issue
Block a user