skywind3000 / z.lua

:zap: A new cd command that helps you navigate faster by learning your habits.
MIT License
2.98k stars 140 forks source link

Rank serialization and deserialization #166

Closed FlTr closed 2 years ago

FlTr commented 2 years ago

For whatever reason z.lua was broken, maybe a lua update. Not familiar with lua itself.

The rank is stored as a comma-float-number (e.g. 1,23) but tonumber() does not de-serialize that properly. After substituting "," with "." before calling tonumber() it worked well again.

Environment: