Add code that forces an error if compiled in LSO to all scripts

This should prevent accidents when saving in inventory in the official viewer.
This commit is contained in:
Sei Lisa 2018-05-18 00:28:02 +02:00 committed by Sei-Lisa
parent 9c84243390
commit f1ec6bde26
22 changed files with 46 additions and 32 deletions

View file

@ -17,9 +17,9 @@
string product = "AVsitter2 MLP converter";
string version = "2.2";
string notecard_basename = "AVpos";
list NOTECARDS;
list PROPS_NOTECARDS;
string notecard_name;
list NOTECARDS = [notecard_name]; //OSS::list NOTECARDS; // Force error in LSO
list PROPS_NOTECARDS;
key notecard_query;
integer notecard_line;
integer notecard_pointer;
@ -98,6 +98,7 @@ default
{
Out(0, "Reading MLP notecards...");
Readout_Say(" ");
NOTECARDS = [];
get_notecards();
if (llGetListLength(NOTECARDS) > 0)
{