fix: update input flow

This commit is contained in:
2026-06-25 19:55:00 +05:00
parent 9a7d793d7e
commit 0928eba0e3
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ const InputModule = {
localBuffer: "",
submitLine(text, username) {
const line = text.trim().toLowerCase();
const line = text.trim().toLowerCase().split(/\s+/)[0];
if (!line) return;
if (introPlaying) return;
@@ -25,7 +25,7 @@ const InputModule = {
},
submitLocal(text) {
const line = text.trim().toLowerCase();
const line = text.trim().toLowerCase().split(/\s+/)[0];
if (!line) return;
if (introPlaying) return;