fixed udpate position functionnality

This commit is contained in:
Quentin Roussel
2024-03-26 14:35:10 +01:00
parent 37fc6b6fa8
commit e6563f2da5
8 changed files with 59 additions and 19 deletions

View File

@@ -69,9 +69,6 @@ export default class Game {
}
updateLocation(teamId, location) {
if(!this.started) {
return false;
}
let team = this.getTeam(teamId);
if(team == undefined) {
return false;
@@ -81,9 +78,6 @@ export default class Game {
}
sendLocation(teamId) {
if(!this.started) {
return false;
}
let team = this.getTeam(teamId);
if(team == undefined) {
return false;