Fixes beanbag point blanks not throwing mobs (#26299)

This commit is contained in:
dearmochi
2024-07-26 23:29:59 +09:00
committed by GitHub
parent f639e2cc1c
commit 13404f9f39
+1
View File
@@ -43,6 +43,7 @@
BB.ammo_casing = src
if(target && get_dist(user, target) <= 1) //Point blank shot must always hit
BB.starting = curloc
BB.prehit(target)
target.bullet_act(BB, BB.def_zone)
QDEL_NULL(BB)