chagned format of the penalty for not sending location

This commit is contained in:
2024-04-19 11:41:15 +00:00
parent e09ab83232
commit 910aee5b2c
3 changed files with 10 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ export function sendUpdatedTeamInformations(teamId) {
enemyLocation: team.enemyLocation,
currentLocation: team.currentLocation,
lastSentLocation: team.lastSentLocation,
lastSentLocationDate: team.lastSentLocationDate,
locationSendDeadline: team.locationSendDeadline,
captureCode: team.captureCode,
startingArea: team.startingArea,
ready: team.ready,
@@ -104,7 +104,7 @@ export function initTeamSocket() {
return;
}
game.updateTeamChasing();
teamBroadcast(teamId, "update_team", { enemyLocation: team.enemyLocation });
teamBroadcast(teamId, "update_team", { enemyLocation: team.enemyLocation,locationSendDeadline: team.locationSendDeadline });
});
socket.on('capture', (captureCode) => {