Fix stuffs

This commit is contained in:
SilicaAndPina 2021-06-28 01:05:38 +12:00
parent 456cc2943b
commit eb8ea14fa7
5 changed files with 19 additions and 8 deletions

View file

@ -72,8 +72,10 @@ namespace HISP.Game
{
int rng = GameServer.RandomNumberGenerator.Next(0, Riddles.Length);
if (Database.HasPlayerCompletedRiddle(rng, user.Id))
if (Database.HasPlayerCompletedRiddle(Riddles[rng].Id, user.Id))
{
continue;
}
return Riddles[rng];
}
}