The issue is whenever anybody used getRoomsByPosition()[0] or not in their scripts - if we change it to work off one, that will break, and we won't break backwards compatibility.
But yes, that's why it says [0]= ... Lua allows it but that's not the right way of using it :) -- You received this bug notification because you are a member of Mudlet Makers, which is subscribed to Mudlet. https://bugs.launchpad.net/bugs/1173407 Title: getRoomsByPosition()'s table indexing starts at 0 Status in Mudlet the MUD client: New Bug description: getRoomsByPosition()'s table indexing starts at 0, while it should be starting at 1. We would need to see if any public scripts are broken by this before fixing, if we can at all. All future functions should start their indexing at 1. To manage notifications about this bug go to: https://bugs.launchpad.net/mudlet/+bug/1173407/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mudlet-makers Post to : [email protected] Unsubscribe : https://launchpad.net/~mudlet-makers More help : https://help.launchpad.net/ListHelp

