Skip to content

Commit

Permalink
ghost same check
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben10083 committed Jul 19, 2023
1 parent 10955c0 commit 8d61d47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/mob/dead/observer/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp

// Larva queue: We use the larger of their existing queue time or the new timeofdeath except for facehuggers
var/new_tod = isfacehugger(src) ? 1 : world.time
ghost.bypass_time_of_death_checks = isfacehugger(src)
ghost.client?.player_details.larva_queue_time = max(ghost.client.player_details.larva_queue_time, new_tod)
if(is_nested && nest && !QDELETED(nest))
ghost.can_reenter_corpse = FALSE
Expand Down

0 comments on commit 8d61d47

Please sign in to comment.