Skip to content

Commit

Permalink
fixes those two issues we found
Browse files Browse the repository at this point in the history
  • Loading branch information
Merrgear committed Jul 22, 2024
1 parent 724b549 commit 9d0e872
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
if(distance > 10)
return FALSE

if(captee_stat == CONSCIOUS)
if(captee_stat == CONSCIOUS && !(HAS_TRAIT(parent_mob, TRAIT_FLOORED) && HAS_TRAIT(parent_mob, TRAIT_INCAPACITATED)))
return FALSE

if(isxeno(pulledby) && pulledby != checked_xeno)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human_attackhand.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
return 1

// If unconcious with oxygen damage, do CPR. If dead, we do CPR
if(!(stat == UNCONSCIOUS && getOxyLoss() > 0) && !(stat == DEAD))
if(!((stat == UNCONSCIOUS || (HAS_TRAIT(src, TRAIT_FLOORED) && HAS_TRAIT(src, TRAIT_INCAPACITATED))) && getOxyLoss() > 0) && !(stat == DEAD))
help_shake_act(attacking_mob)
return 1

Expand Down

0 comments on commit 9d0e872

Please sign in to comment.