Merge pull request #10209 from Ghommie/Ghommie-cit470

ports "Standardize obj/updateicon() and update_icons() to update_icon()"
This commit is contained in:
Putnam3145
2021-06-04 15:06:24 -03:00
committed by Archie
parent 1d9a8dfca8
commit d5f50d094a
12 changed files with 1502 additions and 1503 deletions
+3 -3
View File
@@ -113,7 +113,7 @@
name = "Show Buttons"
else
name = "Hide Buttons"
UpdateIcon()
update_icon()
usr.update_action_buttons()
/obj/screen/movable/action_button/hide_toggle/AltClick(mob/user)
@@ -135,9 +135,9 @@
hide_icon = settings["toggle_icon"]
hide_state = settings["toggle_hide"]
show_state = settings["toggle_show"]
UpdateIcon()
update_icon()
/obj/screen/movable/action_button/hide_toggle/proc/UpdateIcon()
/obj/screen/movable/action_button/hide_toggle/update_icon()
cut_overlays()
add_overlay(mutable_appearance(hide_icon, hidden ? show_state : hide_state))