fix bug, not to add timer handler in mode 0
This commit is contained in:
@@ -129,8 +129,10 @@ void setup()
|
||||
gameMode = 1;
|
||||
}
|
||||
|
||||
MsTimer2::set(1, perms);
|
||||
MsTimer2::start();
|
||||
if(gameMode == 1){
|
||||
MsTimer2::set(1, perms);
|
||||
MsTimer2::start();
|
||||
}
|
||||
}
|
||||
|
||||
void handleButtonInput(ButtonInfo *but)
|
||||
|
||||
Reference in New Issue
Block a user