aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-04-10 21:32:08 +0100
committerGitHub <noreply@github.com>2022-04-10 21:32:08 +0100
commitcb078d2730a962a3e5e735cc7d634f272bcd9f37 (patch)
treeaa63cc49db9e16478a24ca86249c2fe0773cce2a /Northstar.CustomServers
parent67ec62f0c41d39fb605aad53c12d8d6fe02fb3aa (diff)
downloadNorthstarMods-cb078d2730a962a3e5e735cc7d634f272bcd9f37.tar.gz
NorthstarMods-cb078d2730a962a3e5e735cc7d634f272bcd9f37.zip
don't run killreplay if epilogue is active (#296)
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut
index e8b636ffe..e02ca7e3c 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut
@@ -281,7 +281,7 @@ void function GameStateEnter_WinnerDetermined_Threaded()
WaitFrame() // wait a frame so other scripts can setup killreplay stuff
entity replayAttacker = file.roundWinningKillReplayAttacker
- bool doReplay = Replay_IsEnabled() && IsRoundWinningKillReplayEnabled() && IsValid( replayAttacker )
+ bool doReplay = Replay_IsEnabled() && IsRoundWinningKillReplayEnabled() && IsValid( replayAttacker ) && !ClassicMP_ShouldRunEpilogue()
&& Time() - file.roundWinningKillReplayTime <= ROUND_WINNING_KILL_REPLAY_LENGTH_OF_REPLAY && winningTeam != TEAM_UNASSIGNED
float replayLength = 2.0 // extra delay if no replay