mob/verb/Test()
for(var/x=1, x<=5, x++)
x-=2
That gives me an infinite loop, which it obviously should.
mob/verb/Test()
for(var/x=1 to 5)
x-=2
That doesn't give me an infinite loop. Once the loop completes once, x is restored to whatever it should be rather than taking in account the x-=2.
I somehow doubt this is a bug, but can someone explain why this happens? It just caused me 2 hours of pain.
<font color=red><font size=5>ADT_CLONE</font></font>