Fix llDialog with empty buttons list for OpenSim.

The optimizer removes the extra "OK" for SL.
This commit is contained in:
Sei Lisa 2017-08-25 21:51:25 +02:00 committed by Sei-Lisa
parent b71c5e4287
commit 7bf262c61e
5 changed files with 7 additions and 7 deletions

View file

@ -275,7 +275,7 @@ string sitter_text(integer sitter)
remove_script(string reason)
{
string message = "\n" + llGetScriptName() + " ==Script Removed==\n\n" + reason;
llDialog(llGetOwner(), message, [], -3675);
llDialog(llGetOwner(), message, ["OK"], -3675);
llInstantMessage(llGetOwner(), message);
llRemoveInventory(llGetScriptName());
}