Remove calling the gme module with 'new'

This commit is contained in:
2025-06-16 22:41:29 -07:00
parent ff2aaab4da
commit 48f239470f
2 changed files with 295 additions and 285 deletions

View File

@@ -41,7 +41,7 @@ document.querySelector('object').addEventListener('load', function () {
window.addEventListener('load', () => {
const svg = document.querySelector('object').contentDocument.querySelector('svg'),
game = new Game(svg);
game = Game(svg);
window.game = game;