forked from rosebudai/OpenRCT2-Web
Use ScenarioTextObject for indexing scenarios
This commit is contained in:
1 parent
7c74d91b7d
commit
263b73cb31
4 files changed
+56
-40
No files matched your search
@@ -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