mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-24 21:58:30 +01:00
- solves lack of icon update
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
if(!(trigger_flags & TRIGGER_SECONDARY_ACTION) && !ready)
|
||||
ready = TRUE
|
||||
button_icon_state = "activate-ready"
|
||||
UpdateButtons()
|
||||
UpdateButtonIcon()
|
||||
addtimer(CALLBACK(src, PROC_REF(reset_ready)), 3 SECONDS)
|
||||
return
|
||||
var/obj/item/mod/control/mod = target
|
||||
@@ -81,7 +81,7 @@
|
||||
/datum/action/item_action/mod/activate/proc/reset_ready()
|
||||
ready = FALSE
|
||||
button_icon_state = initial(button_icon_state)
|
||||
UpdateButtons()
|
||||
UpdateButtonIcon()
|
||||
|
||||
/datum/action/item_action/mod/activate/ai
|
||||
ai_action = TRUE
|
||||
|
||||
Reference in New Issue
Block a user