mirror of
				https://github.com/inf112-v20/Fiasko.git
				synced 2025-11-04 11:43:44 +01:00 
			
		
		
		
	Fikser en bug der et tomt program i kortinnsamling skaper problemer
This commit is contained in:
		@@ -329,7 +329,7 @@ public class RoboRallyGame implements DrawableGame, InteractableGame {
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            //The player has no locked cards. All previously locked cards should go into the free deck
 | 
			
		||||
            if (robotDamage <= 4) {
 | 
			
		||||
            if (robotDamage <= 4 || playerProgram.size() == 0) {
 | 
			
		||||
                lockedPlayerDeck.emptyInto(player.getProgrammingCardDeck());
 | 
			
		||||
                continue;
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user