that's a lot of actions (#28067)

Why did the crusher have a spawn? No idea.

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
Vi3trice
2025-02-13 01:38:33 +00:00
committed by GitHub
co-authored by Burzah Luc
parent 194e851b8f
commit de79795367
27 changed files with 38 additions and 102 deletions
+1 -3
View File
@@ -157,9 +157,7 @@
remove_paddles(user)
update_icon(UPDATE_OVERLAYS)
for(var/X in actions)
var/datum/action/A = X
A.UpdateButtons()
update_action_buttons()
/obj/item/defibrillator/equipped(mob/user, slot)
..()
@@ -79,9 +79,7 @@
else
turn_off(user)
to_chat(user, "<span class='notice'>You turn the jetpack off.</span>")
for(var/X in actions)
var/datum/action/A = X
A.UpdateButtons()
update_action_buttons()
/obj/item/tank/jetpack/proc/turn_on(mob/user)
if(SEND_SIGNAL(src, COMSIG_JETPACK_ACTIVATED, user) & JETPACK_ACTIVATION_FAILED)
+1 -3
View File
@@ -471,9 +471,7 @@
if(src == user.get_active_hand()) //update inhands
user.update_inv_l_hand()
user.update_inv_r_hand()
for(var/X in actions)
var/datum/action/A = X
A.UpdateButtons()
update_action_buttons()
/obj/item/chainsaw/attack_hand(mob/user)
. = ..()