diff --git a/AVsitter2/Plugins/AVprop/[AV]prop.lsl b/AVsitter2/Plugins/AVprop/[AV]prop.lsl index a1513e5..37201c1 100644 --- a/AVsitter2/Plugins/AVprop/[AV]prop.lsl +++ b/AVsitter2/Plugins/AVprop/[AV]prop.lsl @@ -553,7 +553,7 @@ default if (llList2Vector(llGetObjectDetails(id, [OBJECT_POS]), 0) != ZERO_VECTOR) { list details = [OBJECT_POS, OBJECT_ROT]; - rotation f = llList2Rot(details = llGetObjectDetails(llGetKey(), details) + llGetObjectDetails(id, details), 1); + rotation f = llList2Rot((details = llGetObjectDetails(llGetKey(), details) + llGetObjectDetails(id, details)), 1); vector target_rot = llRot2Euler(llList2Rot(details, 3) / f) * RAD_TO_DEG; vector target_pos = (llList2Vector(details, 2) - llList2Vector(details, 0)) / f; prop_positions = llListReplaceList(prop_positions, [target_pos], index, index); diff --git a/AVsitter2/Utilities/Noob-detector.lsl b/AVsitter2/Utilities/Noob-detector.lsl index a419b5a..a1917de 100644 --- a/AVsitter2/Utilities/Noob-detector.lsl +++ b/AVsitter2/Utilities/Noob-detector.lsl @@ -86,7 +86,7 @@ default { state permission { state_entry(){ llSetTimerEvent(120); - llListen(menu_channel=((integer)llFrand(0x7FFFFF80)+1)*-1,"","",""); + llListen((menu_channel=((integer)llFrand(0x7FFFFF80)+1)*-1),"","",""); llDialog(llGetOwner(),product+" "+version+"\n\n"+disclaimer,["OK"],menu_channel);//RLV }