Update don't call createPlayer but call moveUser

Change time of pointerclicked from 100ms to 250ms
Suppression of console.log
This commit is contained in:
GRL 2021-06-03 16:54:52 +02:00
parent 1527134eeb
commit c435b7451e
2 changed files with 2 additions and 3 deletions

View File

@ -143,7 +143,7 @@ export class SelectCharacterScene extends AbstractCharacterScene {
this.pointerClicked = true;
this.currentSelectUser = i;
this.moveUser();
setTimeout(() => {this.pointerClicked = false;}, 100);
setTimeout(() => {this.pointerClicked = false;}, 250);
});
this.players.push(player);
}
@ -244,7 +244,7 @@ export class SelectCharacterScene extends AbstractCharacterScene {
update(time: number, delta: number): void {
if(this.lazyloadingAttempt){
this.createCurrentPlayer();
this.moveUser();
this.lazyloadingAttempt = false;
}
}

View File

@ -60,7 +60,6 @@ class WaScaleManager {
public saveZoom(): void {
this._saveZoom = this.hdpiManager.zoomModifier;
console.log(this._saveZoom);
}
public restoreZoom(): void{