logics
@@ -21,7 +21,7 @@ class Renderer
21
21
{
22
22
if(this.cycle)
23
23
{
24
if(this.cycle.cycleSpeed && this.cycle.cycleSpeed == -1)
24
if(!this.cycle.cycleSpeed || this.cycle.cycleSpeed == -1)
25
25
{
26
26
this.subImage = this.cycle.default;
27
27
this.cycle.current = this.cycle.default;
@@ -95,7 +95,7 @@ class Renderer
95
95
);
96
96
}
97
97
98
setAnimation(label, defaultIndex, cycleSpeed)
98
setAnimation(label, defaultIndex, cycleSpeed = -1)
99
99
{
100
100
if(this.cycle)
101
101
{
@@ -21,7 +21,7 @@ class Renderer21
{21
{22
if(this.cycle) 22
if(this.cycle) 23
{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.default;27
this.cycle.current = this.cycle.default;27
this.cycle.current = this.cycle.default;@@ -95,7 +95,7 @@ class Renderer95
);95
);96
}96
}97
97
98
setAnimation(label, defaultIndex, cycleSpeed) 98
setAnimation(label, defaultIndex, cycleSpeed = -1) 99
{99
{100
if(this.cycle) 100
if(this.cycle) 101
{101
{