Skip to content

Commit

Permalink
修复音乐室进入时没清空搜索字符串
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Jan 22, 2024
1 parent c8ff37e commit a105419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/scene/musicroom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ local collectCount=0
local noProgress=false
local autoplay=false
local fakeProgress=0
local searchStr=""
local searchTimer=0
local searchStr,searchTimer

local bigTitle=setmetatable({},{
__index=function(self,name)
Expand Down Expand Up @@ -87,6 +86,7 @@ local scene={}
function scene.enter()
selected,fullband=getBgm()
fakeProgress=0
searchStr,searchTimer="",0
if not selected then selected='blank' end
if PROGRESS.getBgmUnlocked(selected)==2 then
fullband=fullband=='full'
Expand Down

0 comments on commit a105419

Please sign in to comment.