sfence / painting

in-game painting mod for minetest
Other
0 stars 4 forks source link

Fixed randomized old palette order #3

Closed ssdaniel24 closed 5 months ago

ssdaniel24 commented 5 months ago

New version of minetest updated luajit too. And luajit is shuffling hashes where strings are keys now. So iterating over it isn't correct.

Due to improved VM security, LuaJIT 2.1 may even use a different order on separate VM invocations or when string keys are newly interned.

P.S. Fixes #2. Tested with my pic from this issue, worked well.