Skip to content

Commit

Permalink
a (#9719)
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerfulBacon authored Oct 6, 2023
1 parent da059e4 commit ece6daf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
5 changes: 0 additions & 5 deletions code/modules/mob/living/carbon/alien/special/alien_embryo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@
STOP_PROCESSING(SSobj, src)

/obj/item/organ/body_egg/alien_embryo/egg_process()
var/mob/living/L = owner
if(IS_IN_STASIS(L))
return
if(!next_stage_time)
COOLDOWN_START(src, next_stage_time, 30 SECONDS)
return
Expand All @@ -78,8 +75,6 @@
return
AttemptGrow()



/obj/item/organ/body_egg/alien_embryo/proc/AttemptGrow(kill_on_success = TRUE)
if(!owner || bursting)
return
Expand Down
5 changes: 1 addition & 4 deletions code/modules/mob/living/simple_animal/hostile/headcrab.dm
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@
var/time

/obj/item/organ/body_egg/changeling_egg/egg_process()
// Changeling eggs grow in dead people, but not people in stasis
var/mob/living/L = owner
if(IS_IN_STASIS(L))
return
// Changeling eggs grow in dead people
time++
if(time >= EGG_INCUBATION_TIME)
Pop()
Expand Down
2 changes: 0 additions & 2 deletions code/modules/zombie/organs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
/obj/item/organ/zombie_infection/process(delta_time)
if(!owner)
return
if(IS_IN_STASIS(owner))
return
if(!(src in owner.internal_organs))
Remove(owner, TRUE)
if (causes_damage && !iszombie(owner) && owner.stat != DEAD)
Expand Down

0 comments on commit ece6daf

Please sign in to comment.