mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
fixed penalty check bug
This commit is contained in:
@@ -36,6 +36,9 @@ function logoutPlayer(id) {
|
||||
|
||||
export function sendUpdatedTeamInformations(teamId) {
|
||||
let team = game.getTeam(teamId)
|
||||
if(!team) {
|
||||
return false;
|
||||
}
|
||||
team.sockets.forEach(socketId => {
|
||||
io.of("player").to(socketId).emit("update_team", {
|
||||
name: team.name,
|
||||
|
||||
Reference in New Issue
Block a user