Skip to content

Commit

Permalink
Store on/off state, for when re-attaching/relogging
Browse files Browse the repository at this point in the history
  • Loading branch information
lickx committed Jul 23, 2024
1 parent 5d1a7bc commit 76336ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ao/oc_ao.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

// Debug(string sStr) { llOwnerSay("Debug ["+llGetScriptName()+"]: " + sStr); }

string g_sVersion = "2023.09.06";
string g_sVersion = "2024.07.23";

integer g_iInterfaceChannel = -12587429;
integer g_iHUDChannel = -1812221819;
Expand Down Expand Up @@ -680,6 +680,7 @@ default
} else if (sButton == "Power") {
if (g_iAO_ON) Command(g_kWearer, "off");
else if (g_iReady) Command(g_kWearer, "on");
StoreSettings();
} else if (sButton == "Device") {
llRegionSayTo(llGetOwner(), g_iHUDChannel, "menu");
}
Expand Down

0 comments on commit 76336ec

Please sign in to comment.