Skip to content

Commit

Permalink
bugfix: return ghost interactions with machinery (#4021)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiquidPotroh authored Dec 10, 2023
1 parent 7b58a3a commit 183ecc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/machinery/machinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ Class Procs:
return attack_hand(user)

/obj/machinery/attack_hand(mob/user as mob)
if(istype(user, /mob/dead/observer))
return FALSE

if(user.incapacitated())
return TRUE

Expand Down

0 comments on commit 183ecc4

Please sign in to comment.