diff --git a/src/NadekoBot/Modules/Games/Commands/Acropobia.cs b/src/NadekoBot/Modules/Games/Commands/Acropobia.cs index 2a7307bb..b379e473 100644 --- a/src/NadekoBot/Modules/Games/Commands/Acropobia.cs +++ b/src/NadekoBot/Modules/Games/Commands/Acropobia.cs @@ -69,6 +69,7 @@ namespace NadekoBot.Modules.Games private readonly ConcurrentDictionary submissions = new ConcurrentDictionary(); public IReadOnlyDictionary Submissions => submissions; + private readonly ConcurrentHashSet usersWhoSubmitted = new ConcurrentHashSet(); private readonly ConcurrentHashSet usersWhoVoted = new ConcurrentHashSet(); private int spamCount = 0; @@ -191,8 +192,7 @@ namespace NadekoBot.Modules.Games catch { } } //user didn't input something already - IGuildUser throwaway; - if (submissions.TryGetValue(input, out throwaway)) + if (!usersWhoSubmitted.Add(guildUser.Id)) return; var inputWords = input.Split(' '); //get all words