Resolve change request part Tetra

This commit is contained in:
SweetSea-ButImNotSweet
2024-01-09 13:52:55 +07:00
parent 4928f1964c
commit 97b1abb5b5
4 changed files with 8 additions and 11 deletions

View File

@@ -994,7 +994,7 @@ do-- function dumpBasicConfig()
end
end
do-- function resetGameData(args)
local function task_showMods() -- TODO
local function task_showMods()
coroutine.yield()
local counter=0

View File

@@ -515,13 +515,11 @@ do-- Mod data
{no=21,id="BN",name="boneBlock",
key="m",x=920,y=470,color='lB',
list={'on','off'},
funcInit =function(P,O) P.gameEnv.bone=O end,
funcRepeat=function(P,O)
P.gameEnv.bone=O
if O=='on' then
for _,bk in pairs(P.nextQueue) do bk.color=17 end
end
end,
funcInit =function(P,O) P.gameEnv.bone=O=='on' end,
funcOnce =function(P,O)
P.gameEnv.bone=O=='on'
P.gameEnv.__lock('bone')
end
},
}
for i=1,#MODOPT do

View File

@@ -488,7 +488,7 @@ local commands={} do
code=function(name)
if name~="" then
if SETTING.lockBG then
log{"Background is currently ",C.R,"locked",C.Z,"! You can unlock them in Video settings."}
log{"Background is currently ",C.R,"locked",C.Z,"! You can unlock it in Video settings."}
elseif name~=BG.cur then
if BG.set(name) then
log(("Background set to '%s'"):format(name))
@@ -513,7 +513,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 in Video settings."}
log{"Themes are currently ",C.R,"disabled",C.Z,"! You can re-enable it in Video settings."}
else
if THEME.set(name) then
log("Theme set to: "..name)

View File

@@ -99,7 +99,6 @@ end
function scene.leave()
TABLE.clear(textObj)
TABLE.clear(pianoVK)
collectgarbage()
BGM.play(lastPlayBGM)
end