Skip to content

Commit

Permalink
Update melee_weapons.dm (#22457)
Browse files Browse the repository at this point in the history
  • Loading branch information
SapphicOverload authored Jul 28, 2024
1 parent 0dec9ec commit 855c7b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/mecha/equipment/weapons/melee_weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,8 @@
return ..()

/obj/item/mecha_parts/mecha_equipment/melee_weapon/mop/proc/on_pre_move(obj/mecha/mech, atom/newloc)
if(mech.equipment_disabled || mech.completely_disabled)
return
if(!auto_sweep)
return
var/mop_dir = get_dir(mech, newloc)
Expand Down

0 comments on commit 855c7b2

Please sign in to comment.