← Back to team overview

mudlet-makers team mailing list archive

[Bug 916322] [NEW] appSpecialExit strips the first character if there are no exits

 

Public bug reported:

lua getSpecialExits(11089)

table {}
lua addSpecialExit(11089, 11090, "jump up")

lua getSpecialExits(11089)
table {
  11090: table {
    'ump up': '0'
  }
}


lua addSpecialExit(11089, 11090, "jump up")

lua getSpecialExits(11089)
table {
  11090: table {
    'jump up': '0'
  }
}

addSpecialExit has to be used twice to get the command in properly. It
looks like the code is supposed to be backwards-compatible with previous
Mudlet releases, but it's not right now.

** Affects: mudlet
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/916322

Title:
  appSpecialExit strips the first character if there are no exits

Status in Mudlet the MUD client:
  New

Bug description:
  lua getSpecialExits(11089)

  table {}
  lua addSpecialExit(11089, 11090, "jump up")

  lua getSpecialExits(11089)
  table {
    11090: table {
      'ump up': '0'
    }
  }

  
  lua addSpecialExit(11089, 11090, "jump up")

  lua getSpecialExits(11089)
  table {
    11090: table {
      'jump up': '0'
    }
  }

  addSpecialExit has to be used twice to get the command in properly. It
  looks like the code is supposed to be backwards-compatible with
  previous Mudlet releases, but it's not right now.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/916322/+subscriptions


Follow ups

References