Fix removing Gameplay Globals

#427
This commit is contained in:
Wojtek Figat
2021-04-07 21:10:09 +02:00
parent 7e622a69a6
commit d073a13f57

View File

@@ -67,7 +67,7 @@ Dictionary<String, Variant> GameplayGlobals::GetValues() const
void GameplayGlobals::SetValues(const Dictionary<String, Variant>& values)
{
for (auto& e : values)
for (auto& e : Variables)
{
bool hasKey = false;
for (auto& q : values)
@@ -105,7 +105,7 @@ Dictionary<String, Variant> GameplayGlobals::GetDefaultValues() const
void GameplayGlobals::SetDefaultValues(const Dictionary<String, Variant>& values)
{
for (auto& e : values)
for (auto& e : Variables)
{
bool hasKey = false;
for (auto& q : values)