Fix llDialog with empty buttons list for OpenSim.
The optimizer removes the extra "OK" for SL.
This commit is contained in:
parent
b71c5e4287
commit
7bf262c61e
5 changed files with 7 additions and 7 deletions
|
@ -130,12 +130,12 @@ menu_check(string name, key id)
|
|||
}
|
||||
else
|
||||
{
|
||||
llDialog(id, product + " " + version + "\n\n" + llList2String(llParseString2List(last_menu_avatar, [" "], []), 0) + " is already using the menu.\nPlease wait a moment.", [], -585868);
|
||||
llDialog(id, product + " " + version + "\n\n" + llList2String(llParseString2List(last_menu_avatar, [" "], []), 0) + " is already using the menu.\nPlease wait a moment.", ["OK"], -585868);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
llDialog(id, product + " " + version + "\n\n" + "Sorry, the owner has set this menu to: " + llList2String(MENUCONTROL_TYPES, MENUCONTROL_INDEX), [], -585868);
|
||||
llDialog(id, product + " " + version + "\n\n" + "Sorry, the owner has set this menu to: " + llList2String(MENUCONTROL_TYPES, MENUCONTROL_INDEX), ["OK"], -585868);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue