Refactor format tokens

This commit is contained in:
Ted John committed 2020-11-27 18:54:57 +00:00
1 parent 157c984d4c
commit b6a688e540
38 files changed
+445 -1749

No files matched your search

+1 -1
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 {};
}