mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
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