Skip to content

Commit

Permalink
Merge pull request #6 from SamHession/master
Browse files Browse the repository at this point in the history
Fixes Phaser v2.6.1 issue
  • Loading branch information
netcell authored Sep 24, 2016
2 parents d2ebd25 + 568715c commit 5670aa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/nine-patch-phaser-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var NinePatchCache = (function () {
var _images = game.cache._images || game.cache._cache.image;
var imageCache = _images[imageKey];
/** @type {PIXI.BaseTexture} Get the Base Texture to process */
this.baseTexture = PIXI.BaseTextureCache[imageKey] ? PIXI.BaseTextureCache[imageKey] : imageCache.base;
this.baseTexture = PIXI.BaseTexture[imageKey] ? PIXI.BaseTexture[imageKey] : imageCache.base;
/** @type {Number} Positions and measures of the texture on the base texture */
if (imageFrame) {
var frameData = imageCache.frameData;
Expand Down
2 changes: 1 addition & 1 deletion build/nine-patch-phaser-plugin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5670aa1

Please sign in to comment.