mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Makes ui buttons call the right proc (#28267)
This commit is contained in:
@@ -581,7 +581,10 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons
|
||||
// The default action is attack_self().
|
||||
// Checks before we get to here are: mob is alive, mob is not restrained, paralyzed, asleep, resting, laying, item is on the mob.
|
||||
/obj/item/proc/ui_action_click(mob/user, actiontype)
|
||||
attack_self__legacy__attackchain(user)
|
||||
if(new_attack_chain)
|
||||
activate_self(user)
|
||||
else
|
||||
attack_self__legacy__attackchain(user)
|
||||
|
||||
/obj/item/proc/IsReflect(def_zone) // This proc determines if and at what% an object will reflect energy projectiles if it's in l_hand,r_hand or wear_suit
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user