Open moboid opened 5 years ago
created an off function for smell manager; SUGAR.pde lines 223-229
void smellOff()
{
SMELL_PORT.write(SMELL_OFF_VAL);
println("smell on for " + smelledForTime +"sec, turning smell off");
smellActive = false;
}
Then in the enter() functions of LoseScreen.pde and WinScreen.pde, add
SMELL_MANAGER.smellOff()
Repro: unknown A bug was encountered in which one (?) of the fans kept blowing at the end of the game and did not stop until the O key was triggered. May have been caused by button-mashing during the last of the horses READY moments. Not sure.