mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
fixed udpate position functionnality
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user