Fixes can_cast short circuit (#34097)
This commit is contained in:
committed by
CitadelStationBot
parent
1f65e222b7
commit
af27a1aa03
@@ -24,9 +24,7 @@
|
||||
stoplag(1)
|
||||
|
||||
/obj/effect/proc_holder/spell/targeted/touch/can_cast(mob/user = usr)
|
||||
if(attached_hand)
|
||||
return TRUE
|
||||
return ..()
|
||||
return ..() && attached_hand
|
||||
|
||||
/obj/effect/proc_holder/spell/targeted/touch/proc/ChargeHand(mob/living/carbon/user)
|
||||
attached_hand = new hand_path(src)
|
||||
|
||||
Reference in New Issue
Block a user