mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
[MIRROR] Fixes NODROP guns dropping anyway when shooting yourself clumsily in the leg [MDB IGNORE] (#9222)
* feex (#62511) this includes the anti-drop implant issue as well * Fixes NODROP guns dropping anyway when shooting yourself clumsily in the leg Co-authored-by: Sealed101 <75863639+Sealed101@users.noreply.github.com>
This commit is contained in:
@@ -276,7 +276,8 @@
|
||||
var/shot_leg = pick(BODY_ZONE_L_LEG, BODY_ZONE_R_LEG)
|
||||
process_fire(user, user, FALSE, null, shot_leg)
|
||||
SEND_SIGNAL(user, COMSIG_MOB_CLUMSY_SHOOT_FOOT)
|
||||
user.dropItemToGround(src, TRUE)
|
||||
if(!HAS_TRAIT(src, TRAIT_NODROP))
|
||||
user.dropItemToGround(src, TRUE)
|
||||
return TRUE
|
||||
|
||||
/obj/item/gun/can_trigger_gun(mob/living/user)
|
||||
|
||||
Reference in New Issue
Block a user