Fixed a bug corrupting an entity after saving and loading multiple times in a row
This commit is contained in:
@@ -77,7 +77,7 @@ namespace Nuake {
|
||||
if (e.Value.has_value())
|
||||
{
|
||||
varJ["Value"] = std::any_cast<std::string>(e.Value);
|
||||
varJ["DefaultValue"] = std::any_cast<std::string>(e.DefaultValue);
|
||||
varJ["DefaultValue"] = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user