Skip to content

Commit

Permalink
Fix bug pixi.js new version
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackRam-oss committed May 11, 2024
1 parent 32edb87 commit 56cd81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/WindowManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class GameWindowManager {
GameWindowManager.canvasWidth = width
GameWindowManager.canvasHeight = height
GameWindowManager._app = new Application()
return GameWindowManager.app.init({
return await GameWindowManager.app.init({
resolution: window.devicePixelRatio || 1,
autoDensity: true,
width: width,
Expand Down

0 comments on commit 56cd81a

Please sign in to comment.