Updated reference to the game object

This commit is contained in:
Pavle Goloskokovic 2018-01-19 12:06:11 +01:00
parent e889de2c20
commit 4bb8557081

View file

@ -60,7 +60,7 @@ var AudioFile = new Class({
AudioFile.create = function (loader, key, urls, config, xhrSettings)
{
var game = loader.scene.game;
var game = loader.scene.sys.game;
var audioConfig = game.config.audio;
var deviceAudio = game.device.Audio;