Move helper functions out of io.on('connection'), call updateUsers in leaveRoom and switchRoom instead of separately calling them
Move helper functions out of io.on('connection'), call updateUsers in leaveRoom and switchRoom instead of separately calling them

leagueofcake/Project-Resistance,leagueofcake/Project-Resistance