mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- fixed generateChallenges.
This commit is contained in:
@@ -398,6 +398,8 @@ public class QuestEventManager {
|
||||
|
||||
Collections.shuffle(unlockedChallengeIds);
|
||||
|
||||
maxChallenges = Math.min(maxChallenges, unlockedChallengeIds.size());
|
||||
|
||||
for (int i = 0; i < maxChallenges; i++) {
|
||||
availableChallengeIds.add(unlockedChallengeIds.get(i));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user