small fix
@@ -23,7 +23,7 @@ class Renderer
23
23
{
24
24
if(!this.cycle.cycleSpeed || this.cycle.cycleSpeed == -1)
25
25
{
26
this.subImage = this.cycle.default;
26
this.subImage = this.cycle.cycleArray[this.cycle.default];
27
27
this.cycle.current = this.cycle.default;
28
28
return;
29
29
}
@@ -117,7 +117,7 @@ class Renderer
117
117
);
118
118
}
119
119
120
setAnimation(label, defaultIndex, cycleSpeed = -1)
120
setAnimation(label, defaultIndex = 0, cycleSpeed = -1)
121
121
{
122
122
if(this.cycle)
123
123
{
@@ -23,7 +23,7 @@ class Renderer23
{23
{24
if(!this.cycle.cycleSpeed || this.cycle.cycleSpeed == -1) 24
if(!this.cycle.cycleSpeed || this.cycle.cycleSpeed == -1) 25
{25
{26
this.subImage = this.cycle.default;26
this.subImage = this.cycle.cycleArray[this.cycle.default];27
this.cycle.current = this.cycle.default;27
this.cycle.current = this.cycle.default;28
return;28
return;29
}29
}@@ -117,7 +117,7 @@ class Renderer117
);117
);118
}118
}119
119
120
setAnimation(label, defaultIndex, cycleSpeed = -1) 120
setAnimation(label, defaultIndex = 0, cycleSpeed = -1) 121
{121
{122
if(this.cycle) 122
if(this.cycle) 123
{123
{