Skip to content

Commit

Permalink
[MISSED MIRROR] fixes touching minebots not changing combat mode (#80…
Browse files Browse the repository at this point in the history
…789) (#340)

fixes touching minebots not changing combat mode (#80789)

## About The Pull Request

uhh touch with empty hand and off combat mode and they change combat
mode now

## Why It's Good For The Game

fixes #80584

## Changelog
:cl:
fix: you can use your hand to make minebots go into combat mode again
/:cl:

Co-authored-by: jimmyl <[email protected]>
  • Loading branch information
2 people authored and FFMirrorBot committed Jan 6, 2024
1 parent 9ca43cb commit 27563cc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions code/modules/mob/living/basic/minebots/minebot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,8 @@
return ..()

/mob/living/basic/mining_drone/attack_hand(mob/living/carbon/human/user, list/modifiers)
. = ..()

if(. || user.combat_mode)
return
if(user.combat_mode)
return ..()
set_combat_mode(!combat_mode)
balloon_alert(user, "now [combat_mode ? "attacking wildlife" : "collecting loose ore"]")

Expand Down

0 comments on commit 27563cc

Please sign in to comment.