mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Throwing items at someone no longer turns off sleeping carp deflection (#20065)
* Throwing items at someone no longer turns off sleeping carp deflection * signals * comment
This commit is contained in:
@@ -637,6 +637,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
|
||||
throw_icon.icon_state = "act_throw_off"
|
||||
|
||||
/mob/living/carbon/proc/throw_mode_on()
|
||||
SIGNAL_HANDLER //This signal is here so we can turn throw mode back on via carp when an object is caught
|
||||
in_throw_mode = TRUE
|
||||
if(throw_icon)
|
||||
throw_icon.icon_state = "act_throw_on"
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
put_in_active_hand(AM)
|
||||
visible_message("<span class='warning'>[src] catches [AM]!</span>")
|
||||
throw_mode_off()
|
||||
SEND_SIGNAL(src, COMSIG_CARBON_THROWN_ITEM_CAUGHT, AM)
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user