set path when calling getGameConfig

This commit is contained in:
mig 2017-04-18 10:25:10 +02:00
parent 80ed61b8f4
commit a494c1a6fb

View file

@ -268,6 +268,7 @@
if (typeof SystemJS != "undefined")
SystemJS.import("games/" + gameDescr.module + "/" + gameName + "-config.js")
.then((config) => {
config.config.view.fullPath = SystemJS.getConfig().baseURL + "games/" + gameDescr.module;
resolve(config.config);
})
.catch(reject);