Skip to content

Commit

Permalink
oppsie
Browse files Browse the repository at this point in the history
  • Loading branch information
Diegoflores31 committed Jan 25, 2024
1 parent 28e9c2a commit f4a62d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/stunbaton.dm
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
/obj/item/weapon/baton/attack(mob/target, mob/user)
var/mob/living/carbon/human/real_user = user
var/mob/living/carbon/human/human_target = target
if(!skillcheck(real_user, SKILL_POLICE, SKILL_POLICE_SKILLED) && status)
if(has_user_lock && !skillcheck(real_user, SKILL_POLICE, SKILL_POLICE_SKILLED) && status)
if(prob(60))
to_chat(real_user, SPAN_WARNING("You hit yourself with the [src] during the struggle..."))
real_user.apply_damage(force, BRUTE, def_zone=pick("r_hand","l_hand"), no_limb_loss=TRUE)
Expand Down

0 comments on commit f4a62d1

Please sign in to comment.