Skip to content

Commit

Permalink
[MIRROR] [NO GBP] Post-round blob zombies no longer offer themselves …
Browse files Browse the repository at this point in the history
…to ghosts (#2799)

* [NO GBP] Post-round blob zombies no longer offer themselves to ghosts (#82542)

## About The Pull Request

This should properly fix the post-blob-win audio/notif spam for real
this time.

I wanted to preserve the effect as much as possible, so they just don't
poll for ghosts when the round is already over.
## Why It's Good For The Game

Closes #80998 for real this time.
## Changelog
:cl: Rhials
fix: The tide of post-round blob zombies when a blob wins will no longer
break the speakers in your headset.
/:cl:

* [NO GBP] Post-round blob zombies no longer offer themselves to ghosts

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: Rhials <[email protected]>
  • Loading branch information
3 people authored Apr 10, 2024
1 parent 1fe35ee commit 56966aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/basic/blob_minions/blob_zombie.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

/mob/living/basic/blob_minion/zombie/controlled/consume_corpse(mob/living/carbon/human/new_corpse)
. = ..()
if (!isnull(client))
if (!isnull(client) || SSticker.current_state == GAME_STATE_FINISHED)
return
AddComponent(\
/datum/component/ghost_direct_control,\
Expand Down

0 comments on commit 56966aa

Please sign in to comment.