Originally Posted by Torhal
You should be using pairs instead of table.foreach - the latter was deprecated in Lua 5.1
|
Lua is not my primary language; I thought there was a better way but since table.foreach worked I didn't bother looking but now I know to use pairs, thank you!