Skip to content
User Avatar
#1812
Auto-translated
This is normal behavior. You cannot rely on the order of iteration in such loops.
Translation of the Lua 4.0 manual
The order in which the elements of a table are traversed is undefined, even for numerical indices. If you want to traverse indices in numerical order, use the numerical for.
It may seem strange at first glance, but if you think about it, you can understand that the order is not always unambiguous, because the index can be of any type.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4