show enemy name

This commit is contained in:
2024-04-20 08:43:26 +00:00
parent 37b3a6a538
commit 27b7f6fc62
4 changed files with 16 additions and 5 deletions

View File

@@ -40,6 +40,7 @@ export function sendUpdatedTeamInformations(teamId) {
io.of("player").to(socketId).emit("update_team", {
name: team.name,
enemyLocation: team.enemyLocation,
enemyName: team.enemyName,
currentLocation: team.currentLocation,
lastSentLocation: team.lastSentLocation,
locationSendDeadline: team.locationSendDeadline,