Fixed bug where both difficulties had the same final result
This commit is contained in:
		
							parent
							
								
									56b7218b80
								
							
						
					
					
						commit
						a573aef9e3
					
				| 
						 | 
				
			
			@ -193,6 +193,11 @@ function selectOperator(o: OperatorType): void {
 | 
			
		|||
function reboot(): void {
 | 
			
		||||
  gameState.value = GameStateType.Playing
 | 
			
		||||
 | 
			
		||||
  if (gameDifficulty.value === GameDifficultyType.Hard) {
 | 
			
		||||
    // Run an empty rand() call to make sure that both Normal and Hard have different expected results
 | 
			
		||||
    random()
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  const minValue = 101
 | 
			
		||||
  const numPlaquettes = isHardMode.value || isPracticeMode.value ? 6 : 5
 | 
			
		||||
  do {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user