diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-04-10 21:32:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-10 21:32:08 +0100 |
commit | cb078d2730a962a3e5e735cc7d634f272bcd9f37 (patch) | |
tree | aa63cc49db9e16478a24ca86249c2fe0773cce2a /Northstar.CustomServers/mod/scripts/vscripts | |
parent | 67ec62f0c41d39fb605aad53c12d8d6fe02fb3aa (diff) | |
download | NorthstarMods-cb078d2730a962a3e5e735cc7d634f272bcd9f37.tar.gz NorthstarMods-cb078d2730a962a3e5e735cc7d634f272bcd9f37.zip |
don't run killreplay if epilogue is active (#296)
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_gamestate_mp.nut | 2 |
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 e8b636ff..e02ca7e3 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 |