add double

This commit is contained in:
Hepatica
2024-04-07 03:04:02 +02:00
parent 43c090693b
commit b93f23deaa
4 changed files with 411 additions and 93 deletions

View File

@@ -31,14 +31,12 @@ export function ConnectToChat() {
if (dataObject.MessageType == 'DoubleGameState') {
eventBus.emit('doubleGame', event.data)
console.log(event.data)
return;
}
if (dataObject.MessageType == "CrashGameState") {
eventBus.emit('crash', event.data);
return;
}
if (Array.isArray(dataObject.CurrentGame.PlayerList)) {
@@ -47,7 +45,7 @@ export function ConnectToChat() {
}
} catch (error) {
void(error);
void (error);
}
};