From 512b3b05d25ba79a50fc5126e27cb7aee738f299 Mon Sep 17 00:00:00 2001 From: c0de Date: Sat, 12 Nov 2022 00:02:14 -0600 Subject: [PATCH] Nedc to set difference to the class --- game/process_guess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/process_guess.py b/game/process_guess.py index eda98e6..8e23187 100644 --- a/game/process_guess.py +++ b/game/process_guess.py @@ -77,7 +77,7 @@ class ProcessGuess: difference = abs(guess - self.pitch_value) if difference > 500: - return 1000 - difference + difference = 1000 - difference self.difference = difference return self.difference