Skip to content

Commit

Permalink
watch this blow up
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Nov 13, 2023
1 parent 9425267 commit 651974a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions code/modules/mob/living/living_health_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -489,11 +489,6 @@
var/mob/living/carbon/human/H = src
H.update_body()

/mob/living/canface()
if(!(mobility_flags & MOBILITY_MOVE))
return FALSE // Choice by default, feel free to change
return ..()

/mob/living/keybind_face_direction(direction)
if(!canface())
return
Expand Down
2 changes: 2 additions & 0 deletions code/modules/mob/mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,8 @@ note dizziness decrements automatically in the mob's Life() proc.
if(anchored) return 0
if(monkeyizing) return 0
if(is_mob_restrained()) return 0
if(HAS_TRAIT(src, TRAIT_INCAPACITATED)) // We allow rotation if simply floored
return FALSE
return 1

/mob/proc/face_dir(ndir, specific_dir)
Expand Down

0 comments on commit 651974a

Please sign in to comment.