1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Refactor format tokens

This commit is contained in:
Ted John
2020-10-16 00:13:52 +01:00
parent 157c984d4c
commit b6a688e540
38 changed files with 445 additions and 1749 deletions

View File

@@ -1267,7 +1267,7 @@ std::string OpenRCT2::Scripting::Stringify(const DukValue& val)
std::string OpenRCT2::Scripting::ProcessString(const DukValue& value)
{
if (value.type() == DukValue::Type::STRING)
return language_convert_string(value.as_string());
return value.as_string();
return {};
}