mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Fixes dual wielding bypassing wizard checks (#72431)
Fixes #72428 🆑 ShizCalev fix: Non-magic inclined mobs will no longer fire staffs while duel wielding. /🆑
This commit is contained in:
@@ -903,7 +903,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
var/mob/living/living_target = target
|
||||
living_target.adjustBruteLoss(extra_strength_damage)
|
||||
|
||||
/obj/item/proc/can_trigger_gun(mob/living/user)
|
||||
/obj/item/proc/can_trigger_gun(mob/living/user, akimbo_usage)
|
||||
if(!user.can_use_guns(src))
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user