Change mainscript -> main_script for consistency with the others.

This commit is contained in:
Sei Lisa 2017-10-07 11:27:58 +02:00 committed by Sei-Lisa
parent 68a7477d5b
commit fc69221896

View file

@ -20,7 +20,7 @@ string helper_name = "[AV]helper";
string prop_script = "[AV]prop"; string prop_script = "[AV]prop";
string expression_script = "[AV]faces"; string expression_script = "[AV]faces";
string camera_script = "[AV]camera"; string camera_script = "[AV]camera";
string mainscript = "[AV]sitA"; string main_script = "[AV]sitA";
string notecard_name = "AVpos"; string notecard_name = "AVpos";
list POS_LIST; list POS_LIST;
list ROT_LIST; list ROT_LIST;
@ -256,7 +256,7 @@ Out(string out)
integer get_number_of_scripts() integer get_number_of_scripts()
{ {
integer i; integer i;
while (llGetInventoryType(mainscript + " " + (string)(++i)) == INVENTORY_SCRIPT) while (llGetInventoryType(main_script + " " + (string)(++i)) == INVENTORY_SCRIPT)
; ;
return i; return i;
} }