|
@@ -522,7 +522,7 @@ int commandCount = 0;
|
|
static bool onUI_Timer(int id){
|
|
static bool onUI_Timer(int id){
|
|
switch (id) {
|
|
switch (id) {
|
|
case 101: {
|
|
case 101: {
|
|
- if (commandCount > 0) {
|
|
|
|
|
|
+ if (commandCount == 0) {
|
|
restartTime -= 1;
|
|
restartTime -= 1;
|
|
}
|
|
}
|
|
std::string restartStr = "重启倒计时:" + to_string(restartTime) + " 循环次数:" + to_string(restartCount);
|
|
std::string restartStr = "重启倒计时:" + to_string(restartTime) + " 循环次数:" + to_string(restartCount);
|