mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 03:53:07 +01:00
Use ScenarioTextObject for indexing scenarios
This commit is contained in:
@@ -32,7 +32,7 @@ void ScenarioTextObject::ReadJson(IReadObjectContext* context, json_t& root)
|
||||
|
||||
std::string ScenarioTextObject::GetScenarioName()
|
||||
{
|
||||
return GetStringTable().GetString(ObjectStringID::SCENARIO_NAME);
|
||||
return GetStringTable().GetString(ObjectStringID::NAME); // SCENARIO_NAME
|
||||
}
|
||||
|
||||
std::string ScenarioTextObject::GetParkName()
|
||||
|
||||
Reference in New Issue
Block a user