This commit is contained in:
SandPoot
2024-03-30 18:03:05 -03:00
parent 27d912aed3
commit 2518dd9fac

View File

@@ -127,7 +127,7 @@
blocked = TRUE blocked = TRUE
var/zone = ran_zone(BODY_ZONE_CHEST, 65)//Hits a random part of the body, geared towards the chest var/zone = ran_zone(BODY_ZONE_CHEST, 65)//Hits a random part of the body, geared towards the chest
var/nosell_hit = SEND_SIGNAL(thrown_item, COMSIG_MOVABLE_IMPACT_ZONE, src, zone, blocked, throwingdatum) // TODO: find a better way to handle hitpush and skipcatch for humans var/nosell_hit = SEND_SIGNAL(thrown_item, COMSIG_MOVABLE_IMPACT_ZONE, src, zone, throwingdatum, blocked, FALSE)
if(nosell_hit) if(nosell_hit)
skipcatch = TRUE skipcatch = TRUE
hitpush = FALSE hitpush = FALSE