Check that M: is at the start and other minor changes.

This commit is contained in:
Sei Lisa 2018-01-31 23:59:04 +01:00 committed by Sei-Lisa
parent 367cea2212
commit 31b8538e51
3 changed files with 3 additions and 7 deletions

View file

@ -260,7 +260,7 @@ integer prop_menu(integer return_pages, key av)
{
if (i < llGetListLength(MENU_LIST))
{
if (llSubStringIndex(llList2String(MENU_LIST, i), "M:") != -1)
if (llSubStringIndex(llList2String(MENU_LIST, i), "M:") == 0)
{
jump end;
}