Pre-B32 Right-click makes lua errors

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
TheRani
Archmage
Posts: 321
Joined: Sun Jan 16, 2011 7:25 pm

Pre-B32 Right-click makes lua errors

#1 Post 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.

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: Pre-B32 Right-click makes lua errors

#2 Post 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

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Pre-B32 Right-click makes lua errors

#3 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply