Only 3 cards were suppose to be added but 6 were added. This happened after around the 15th level up. Even more cards started getting added after that. Sometimes it was 3, other times it was 6, 9, then 12, and so on.
Steps to Reproduce
Crank up enemy spawns
Crank up player firerate
Set XP orb value to the maximum needed to level up
Kill lots of enemies in a concentrated area
Pickup xp orbs in clusters
Possible Solution
Once enough xp is gained for a level up, wait an additional second to see if more xp is earned on top of that. If so then keep track of this. Spawn the first 3 cards, then once the player selects a card, instantly spawn the next 3 cards. And so on for how many level ups the player achieved in that short amount of time.
Only 3 cards were suppose to be added but 6 were added. This happened after around the 15th level up. Even more cards started getting added after that. Sometimes it was 3, other times it was 6, 9, then 12, and so on.
Steps to Reproduce
Possible Solution
Once enough xp is gained for a level up, wait an additional second to see if more xp is earned on top of that. If so then keep track of this. Spawn the first 3 cards, then once the player selects a card, instantly spawn the next 3 cards. And so on for how many level ups the player achieved in that short amount of time.