From 73f514ecef8540333ea405cab135ba3aa3be797c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 26 Oct 2017 19:18:47 +0200 Subject: [PATCH] Fix #36 --- Asset/AssetManager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Asset/AssetManager.js b/Asset/AssetManager.js index cdda7df..6f8f7e0 100644 --- a/Asset/AssetManager.js +++ b/Asset/AssetManager.js @@ -94,6 +94,7 @@ this.assets[hash] = path; } else if (filetype === 'img') { + /** global: Image */ this.assets[hash] = new Image(); this.assets[hash].src = path; } else if (filetype === 'audio') {