1
0
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:
ζeh Matt
2021-06-26 07:29:46 +03:00
committed by GitHub
parent 35ba734669
commit 54d70ec52d

View File

@@ -208,7 +208,7 @@ namespace OpenRCT2::Scripting
{
return msg->Text;
}
return 0;
return {};
}
void text_set(const std::string& value)