mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Loader shouldn't append a hypen for multi-atlases.
This commit is contained in:
parent
92cd873d85
commit
ecbc428917
3 changed files with 4 additions and 3 deletions
|
@ -17,3 +17,4 @@ src/animation/creature/gl-matrix.js
|
||||||
src/animation/creature/CreatureMeshBone.js
|
src/animation/creature/CreatureMeshBone.js
|
||||||
src/gameobjects/Creature.js
|
src/gameobjects/Creature.js
|
||||||
src/stubs/*
|
src/stubs/*
|
||||||
|
src/physics/matter-js/*
|
|
@ -1,4 +1,4 @@
|
||||||
var CHECKSUM = {
|
var CHECKSUM = {
|
||||||
build: 'faa78460-1b9c-11e7-ae3c-65c5c22515dc'
|
build: 'd9e724e0-1bee-11e7-84b6-498a4b612112'
|
||||||
};
|
};
|
||||||
module.exports = CHECKSUM;
|
module.exports = CHECKSUM;
|
|
@ -173,8 +173,8 @@ Loader.prototype.multiatlas = function (key, textureURLs, atlasURLs, textureXhrS
|
||||||
{
|
{
|
||||||
var total = textureURLs;
|
var total = textureURLs;
|
||||||
|
|
||||||
textureURLs = NumberArray(0, total, key + '-', '.png');
|
textureURLs = NumberArray(0, total, key, '.png');
|
||||||
atlasURLs = NumberArray(0, total, key + '-', '.json');
|
atlasURLs = NumberArray(0, total, key, '.json');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue