fix FPS calculating
This commit is contained in:
parent
f3b63e0311
commit
cc8a51749a
@ -31,7 +31,7 @@ export class App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.scene = new Scene(this.canvas, this.context, w, h);
|
this.scene = new Scene(this.canvas, this.context, w, h);
|
||||||
Settings.prevTime = Date.now();
|
Settings.fpsPrevTime = Date.now();
|
||||||
|
|
||||||
const logStrings = [
|
const logStrings = [
|
||||||
'ujs engine',
|
'ujs engine',
|
||||||
|
Loading…
Reference in New Issue
Block a user