Page 1 of 1
Pre-B32 Right-click makes lua errors
Posted: Tue Aug 23, 2011 11:39 pm
by TheRani
When I was trying out the pre-release for b32, I discovered that right-clicking on anywhere on the map, on anything at all, causes those "Oops, something went wrong, tell us what happened" things to pop up.
Re: Pre-B32 Right-click makes lua errors
Posted: Sun Aug 28, 2011 3:22 am
by tiger_eye
This bug still exists as of svn 4272.
To reproduce, simply to use the right-click menu when a talent isn't bound to a hot key and you'll get the following error:
Code: Select all
Lua Error: /mod/dialogs/MapMenu.lua:172: attempt to compare two nil values
At [C]:-1 __lt
At /mod/dialogs/MapMenu.lua:172
At [C]:-1 sort
At /mod/dialogs/MapMenu.lua:164 generateList
At /mod/dialogs/MapMenu.lua:31 init
At /engine/class.lua:64 new
At /mod/class/Game.lua:1545 mouseRightClick
At /mod/class/Game.lua:1418 fct
At /engine/Mouse.lua:48
Re: Pre-B32 Right-click makes lua errors
Posted: Sun Aug 28, 2011 5:34 pm
by darkgod
fixed