exit command return type bugfix

This commit is contained in:
Baipyrus 2023-01-18 14:48:46 +01:00
parent 703b11c79c
commit 93cc4c14ae

View File

@ -6,7 +6,7 @@ function runCommand(input) {
if (input.toLowerCase().startsWith("exit")) { if (input.toLowerCase().startsWith("exit")) {
cmd_exit(); cmd_exit();
return; return "";
} }
const modeSplit = chatMode.split(' '); const modeSplit = chatMode.split(' ');