Nedc to set difference to the class

This commit is contained in:
c0de 2022-11-12 00:02:14 -06:00
parent 0c4224314b
commit 512b3b05d2

View File

@ -77,7 +77,7 @@ class ProcessGuess:
difference = abs(guess - self.pitch_value) difference = abs(guess - self.pitch_value)
if difference > 500: if difference > 500:
return 1000 - difference difference = 1000 - difference
self.difference = difference self.difference = difference
return self.difference return self.difference