Closed TheFeelTrain closed 1 year ago
While that position makes more sense I only wanted it to run setTwitchQuality()
if it actually refreshes, otherwise it's just pointlessly running. I'm not sure how to do that from the main loop since the refresh happens inside of checkRewards()
. I guess we could make checkRewards()
return true/false and then move the refresh inside an if statement instead?
I guess we could make checkRewards() return true/false and then move the refresh inside an if statement instead?
Nicer performance, but extremely confusing code
Right now the refresh works but doesn't set the quality. I am not that experienced with python so all I did was copy-paste from the main loop. If there is a cleaner way to do this feel free to ignore this and implement it better.