Nedc to set difference to the class
This commit is contained in:
parent
0c4224314b
commit
512b3b05d2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user