mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 18:55:23 +01:00
Fix undefined behavior returning nullptr on std::string (#14952)
This commit is contained in:
@@ -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