Fixed a bug corrupting an entity after saving and loading multiple times in a row

This commit is contained in:
Antoine Pilote
2024-08-15 22:38:45 -04:00
parent 58a179be4f
commit 6913a5100a

View File

@@ -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
{