1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Fix replays not failing when last tick is the cause (#13834)

* Fix replays never failing

* Change replay dependency meta

* Stop replay when state mismatches
This commit is contained in:
ζeh Matt
2021-01-14 15:48:12 +02:00
committed by GitHub
parent f1ea718ded
commit 78f6e3e8e3
4 changed files with 19 additions and 9 deletions

View File

@@ -98,8 +98,9 @@ TEST_P(ReplayTests, RunReplay)
while (replayManager->IsReplaying())
{
gs->UpdateLogic();
ASSERT_TRUE(replayManager->IsPlaybackStateMismatching() == false);
}
ASSERT_FALSE(replayManager->IsReplaying());
ASSERT_FALSE(replayManager->IsPlaybackStateMismatching());
#endif
}