Skip to content

Commit ecbc428

Browse files
committed
Loader shouldn't append a hypen for multi-atlases.
1 parent 92cd873 commit ecbc428

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

v3/.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ src/animation/creature/gl-matrix.js
1717
src/animation/creature/CreatureMeshBone.js
1818
src/gameobjects/Creature.js
1919
src/stubs/*
20+
src/physics/matter-js/*

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: 'faa78460-1b9c-11e7-ae3c-65c5c22515dc'
2+
build: 'd9e724e0-1bee-11e7-84b6-498a4b612112'
33
};
44
module.exports = CHECKSUM;

v3/src/state/systems/Loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ Loader.prototype.multiatlas = function (key, textureURLs, atlasURLs, textureXhrS
173173
{
174174
var total = textureURLs;
175175

176-
textureURLs = NumberArray(0, total, key + '-', '.png');
177-
atlasURLs = NumberArray(0, total, key + '-', '.json');
176+
textureURLs = NumberArray(0, total, key, '.png');
177+
atlasURLs = NumberArray(0, total, key, '.json');
178178
}
179179
else
180180
{

0 commit comments

Comments
 (0)