1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Fix #4951: RCT1 Scenario Menu doesn't display completion

This commit is contained in:
Ted John
2017-01-01 23:31:24 +00:00
parent 33d4cec28a
commit fa2f889bc2

View File

@@ -199,6 +199,10 @@ public:
bool TryRecordHighscore(const utf8 * scenarioFileName, money32 companyValue, const utf8 * name) override
{
// Scan the scenarios so we have a fresh list to query. This is to prevent the issue of scenario completions
// not getting recorded, see #4951.
Scan();
scenario_index_entry * scenario = GetByFilename(scenarioFileName);
if (scenario != nullptr)
{