Moving part 1

This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-01-11 09:30:08 +07:00
parent 97b1abb5b5
commit d399f3c9d3
2 changed files with 3 additions and 187 deletions

View File

@@ -377,15 +377,6 @@ local commands={} do
"Usage: openurl [url]",
},
}
commands.viewlog={
code=goScene('viewLog'),
description="View crash logs",
details={
"Open the crash logs menu",
"",
"Usage: viewlog"
}
}
commands.scrinfo={
code=function()
for _,v in next,SCR.info() do
@@ -487,9 +478,7 @@ local commands={} do
commands.setbg={
code=function(name)
if name~="" then
if SETTING.lockBG then
log{"Background is currently ",C.R,"locked",C.Z,"! You can unlock it in Video settings."}
elseif name~=BG.cur then
if name~=BG.cur then
if BG.set(name) then
log(("Background set to '%s'"):format(name))
else
@@ -513,7 +502,7 @@ local commands={} do
code=function(name)
if name~="" then
if SETTING.noTheme then
log{"Themes are currently ",C.R,"disabled",C.Z,"! You can re-enable it in Video settings."}
log{"Theme is ",C.R,"disabled",C.Z,"! Please re-enable it before trying this command again"}
else
if THEME.set(name) then
log("Theme set to: "..name)
@@ -1164,4 +1153,4 @@ scene.widgetList={
inputBox,
}
return scene
return scene