fix FPS calculating

This commit is contained in:
Alexander Popov 2023-12-01 16:21:01 +03:00
parent f3b63e0311
commit cc8a51749a
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6

View File

@ -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',