fix bug, not to add timer handler in mode 0

This commit is contained in:
2022-01-30 17:12:22 +09:00
parent 11d1b92a58
commit ab0242b073

View File

@@ -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)