Resolve change requests part 2

This commit is contained in:
SweetSea-ButImNotSweet
2024-01-08 13:37:00 +07:00
parent 536174220d
commit 888f2f6074
7 changed files with 68 additions and 64 deletions

View File

@@ -379,11 +379,11 @@ local commands={} do
}
commands.viewlog={
code=goScene('viewLog'),
description="View crashes' log",
description="View crash logs",
details={
"Open crashes' log to view right at the spot",
"Open the crash logs menu",
"",
"Usage: viewLog"
"Usage: viewlog"
}
}
commands.scrinfo={
@@ -487,7 +487,9 @@ local commands={} do
commands.setbg={
code=function(name)
if name~="" then
if name~=BG.cur then
if SETTING.lockBG then
log{"Background ",C.R,"locked",C.Z,"! Please unlock background first."}
elseif name~=BG.cur then
if BG.set(name) then
log(("Background set to '%s'"):format(name))
else
@@ -511,7 +513,7 @@ local commands={} do
code=function(name)
if name~="" then
if SETTING.noTheme then
log{"Theme is ",C.R,"disabled",C.Z,"! Please re-enable it before trying this command again"}
log{"Theme is ",C.R,"disabled",C.Z,"! Please re-enable theme first."}
else
if THEME.set(name) then
log("Theme set to: "..name)

View File

@@ -108,9 +108,9 @@ function scene.draw()
GC.rotate(t)
local rad,side=45,5
if GAME.modApplyAt=='always' then
if M.funcRepe then side=nil
elseif M.funcOnce then side=8
else side=5 end
if M.funcRepeat then side=nil
elseif M.funcOnce then side=8
else side=5 end
end
local color=M.color
GC.setColor(color[1],color[2],color[3],5*t)