From b7fe5831c2cd7db178c73c2b4f0053bb941c15db Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Fri, 25 Feb 2022 14:29:41 -0800 Subject: [PATCH] Encounter: fix team leaving after end game counting as win --- README.md | 5 +---- scripts/zm/zgrief/zgrief_reimagined.gsc | 5 +++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 10bf092f..acac138c 100644 --- a/README.md +++ b/README.md @@ -437,7 +437,7 @@ ### Encounter * Group of competitive game modes * Unlimited zombies -* 2500 health zombies +* 2500 health zombies (25000 health Brutus) * 0.5 second zombie spawn rate * Only sprinting zombies * Unlimited powerups @@ -474,9 +474,6 @@ * Added intro text * Announcer audio always plays * Last player alive audio only plays for the player who is alive instead of every player on the team -* Decreased connection timeout from 90 seconds to 60 seconds -* Random map rotation -* 25000 health Brutus #### Grief * Gain score by making enemy players bleed out diff --git a/scripts/zm/zgrief/zgrief_reimagined.gsc b/scripts/zm/zgrief/zgrief_reimagined.gsc index 667e25df..fcb28a65 100644 --- a/scripts/zm/zgrief/zgrief_reimagined.gsc +++ b/scripts/zm/zgrief/zgrief_reimagined.gsc @@ -737,6 +737,11 @@ grief_onplayerdisconnect(disconnecting_player) return; } + if(isDefined(level.gamemodulewinningteam)) + { + return; + } + if(isDefined(level.grief_update_records)) { [[level.grief_update_records]](disconnecting_player);