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:
parent
1527134eeb
commit
c435b7451e
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -60,7 +60,6 @@ class WaScaleManager {
|
||||
|
||||
public saveZoom(): void {
|
||||
this._saveZoom = this.hdpiManager.zoomModifier;
|
||||
console.log(this._saveZoom);
|
||||
}
|
||||
|
||||
public restoreZoom(): void{
|
||||
|
Loading…
Reference in New Issue
Block a user