forked from rosebudai/OpenRCT2-Web
Fix undefined behavior returning nullptr on std::string (#14952)
This commit is contained in:
1 parent
35ba734669
commit
54d70ec52d
1 file changed
+1
-1
@@ -208,7 +208,7 @@ namespace OpenRCT2::Scripting
|
||||
{
|
||||
return msg->Text;
|
||||
}
|
||||
return 0;
|
||||
return {};
|
||||
}
|
||||
|
||||
void text_set(const std::string& value)
|
||||
|
||||
Reference in new issue
Block a user