getExitStubs() returns the room ID instead of nil when there are no stubs
Bug #1261536 reported by
Vadim Peretokin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mudlet |
Fix Released
|
High
|
Chris |
Bug Description
getExitStubs() returns the room ID instead of nil when there are no stubs . See http://
Changed in mudlet: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There does seem to be an error in all versions of the TLuaInterpreter ::getExitStubs( ...) method, Chris's commit on 2013-04-09 03:22:11 {63395a6c50f948 a92a71df0e712b2 476402792f1} does a small change in this area but does not address the fault that was present right back to the introduction. The attached patch will cure the problem.
Note that this is one of the table returning functions that has the issue of indexes starting at 0 rather than the LUA standard of 1!