Fix undefined behavior returning nullptr on std::string (#14952)

This commit is contained in:
ζeh Matt authored and GitHub committed 2021-06-26 01:29:46 -03:00
1 parent 35ba734669
commit 54d70ec52d
1 file changed
+1 -1
+1 -1
View File
@@ -208,7 +208,7 @@ namespace OpenRCT2::Scripting
{
return msg->Text;
}
return 0;
return {};
}
void text_set(const std::string& value)