Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -4390,7 +4390,7 @@ GA.plugins = function(ga) {
//matches the current tile, and that sub-object has a `name` property,
//then create a sprite and assign the tile properties onto
//the sprite
if (tileproperties[key] && tileproperties[key].name) {
if (typeof tileproperties !== 'undefined' && tileproperties[key] && tileproperties[key].name) {

//Make a sprite
tileSprite = ga.sprite(texture);
Expand Down