Фикс 0 дебаунса в игре на реакцию

This commit is contained in:
2026-04-23 16:03:24 +03:00
parent fc470d0fb9
commit 47d471c235

View File

@@ -120,10 +120,14 @@ static void OnUpdate_Reaction(void) {
static void Display_Reaction(void) {
char buf[7];
g_ctx.debounceTime = 30;
switch (g_gameReaction.state) {
case 0: sprintf(buf, "START"); break;
case 1: sprintf(buf, " "); break;
case 2: sprintf(buf, "888888"); break;
case 2:
sprintf(buf, "888888");
g_ctx.debounceTime = 0;
break;
case 3: sprintf(buf, "%6d", g_gameReaction.reactionTime); break;
case 4: sprintf(buf, "FAIL"); break;
default: sprintf(buf, "ERROR"); break;