Only add key once.

This commit is contained in:
Steve 2018-02-08 22:26:00 +00:00
parent 50a1c78c10
commit f3bf29b333
1 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,8 @@ static void addKeyToStash(Item *item)
t->value.i = item->value;
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Added %s (%d) to stash", t->key, t->value.i);
return;
}
}
}