mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed shuffle issue where users not logged in could not shuffle
This commit is contained in:
@@ -146,7 +146,8 @@ function remove_bar()
|
||||
|
||||
function shuffle()
|
||||
{
|
||||
socket.emit('shuffle', adminpass);
|
||||
var pass_to_send = adminpass !== undefined ? adminpass : "";
|
||||
socket.emit('shuffle', pass_to_send);
|
||||
}
|
||||
|
||||
function rnd(arr)
|
||||
|
||||
Reference in New Issue
Block a user