more bug fixes from the merge

This commit is contained in:
Jack 2021-04-02 23:57:30 +01:00
parent 2aa396ca58
commit 932be53bb3
2 changed files with 6 additions and 2 deletions

View file

@ -114,7 +114,11 @@ class Input {
}
getHistory(i) {
return this.history[i];
if (i === undefined) {
return this.history;
} else {
return this.history[i];
}
}
}

View file

@ -1386,7 +1386,7 @@ socket.on("mp_room_test_start", (data) => {
// startTest();
setTimeout(() => {
if (!TestLogic.active) {
startTest();
TestLogic.startTest();
}
}, 500);
// Notifications.add("test starting",0);