Skip to content

Commit

Permalink
buckle bug
Browse files Browse the repository at this point in the history
  • Loading branch information
doom committed Dec 27, 2023
1 parent 8bb6571 commit 4969f3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/game/objects/objs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,10 @@
if (iszombie(user))
return

// mobs that get knocked down should not be able to buckle themselves.
if(M == user && HAS_TRAIT(user, TRAIT_IMMOBILIZED))
return

if(density)
density = FALSE
if(!step(M, get_dir(M, src)) && loc != M.loc)
Expand Down

0 comments on commit 4969f3d

Please sign in to comment.