Skip to content

Commit

Permalink
fix unable to burst when moving out of body
Browse files Browse the repository at this point in the history
  • Loading branch information
kacper724 committed Feb 12, 2025
1 parent 72713cd commit 1219b9d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/modules/mob/living/carbon/carbon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
if(nutrition && stat != DEAD)
nutrition -= HUNGER_FACTOR/5

/mob/living/carbon/relaymove(mob/user, direction)
if(user.is_mob_incapacitated(TRUE))
return
if(!chestburst && (status_flags & XENO_HOST) && islarva(user))
var/mob/living/carbon/xenomorph/larva/larva_burst = user
larva_burst.chest_burst(src)

/mob/living/carbon/ex_act(severity, direction, datum/cause_data/cause_data)
last_damage_data = istype(cause_data) ? cause_data : create_cause_data(cause_data)
Expand Down

0 comments on commit 1219b9d

Please sign in to comment.