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

This commit is contained in:
Ted John committed 2017-01-01 23:31:24 +00:00
1 parent 33d4cec28a
commit fa2f889bc2
1 file changed
+4
+4
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)
{