Add a preloader bar
This commit is contained in:
@@ -997,7 +997,7 @@ GameState.prototype.preload = function()
|
|||||||
try {
|
try {
|
||||||
if ( typeof game.cache.getImage('preloader') !== undefined )
|
if ( typeof game.cache.getImage('preloader') !== undefined )
|
||||||
break;
|
break;
|
||||||
} catch {
|
} catch(e) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user