Buzzing in now retracts your idk vote. Also added some new buzzers by request
This commit is contained in:
@@ -39,6 +39,11 @@ io.on("connection", (socket) => {
|
||||
});
|
||||
|
||||
socket.on("buzzerPressed", (newUserName, newTimeStamp) => {
|
||||
if (idkList.includes(newUserName)) {
|
||||
const userIndex = idkList.indexOf(newUserName);
|
||||
idkList.splice(userIndex, 1)
|
||||
}
|
||||
|
||||
let firstBuzzTimeStamp = (function() {
|
||||
if (buzzInfo.length == 0) {
|
||||
return newTimeStamp
|
||||
|
||||
Reference in New Issue
Block a user