michalbe/mibbu — Issue #12: if there is one image in sprite
Author: nerkn
Created: 2011-11-24 11:39:09+00:00
State: open

if there is one image in sprite we create it
game.spr( width, height, 0, 0);

sprite.draw function (in mibbu.js line 455) checks for frame

if (t.fs > 0) {
because 0>0 is false, if there is one image in sprite it is not drawn. So I put equal sign

if (t.fs >= 0) {