Remove calling the gme module with 'new'
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user