mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-11-04 08:05:35 +01:00
Update Podium & Statred to add sound
This commit is contained in:
1 parent
94600d1215
commit
a5adacfaef
13 files changed
+277
-77
No files matched your search
@@ -32,6 +32,11 @@ const Player = {
|
||||
return
|
||||
}
|
||||
|
||||
if (game.players.find((p) => p.username === player.username)) {
|
||||
socket.emit("game:errorMessage", "Username already exists")
|
||||
return
|
||||
}
|
||||
|
||||
if (game.started) {
|
||||
socket.emit("game:errorMessage", "Game already started")
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user