修正加载模式图标的一处错误
This commit is contained in:
@@ -86,7 +86,7 @@ local loadingThread=coroutine.wrap(function()
|
|||||||
YIELD('loadMode')
|
YIELD('loadMode')
|
||||||
for _,M in next,MODES do
|
for _,M in next,MODES do
|
||||||
M.records=FILE.load("record/"..M.name..".rec")or M.score and{}
|
M.records=FILE.load("record/"..M.name..".rec")or M.score and{}
|
||||||
M.icon=M.icon and modeIcons[M.icon]or gc.newImage("media/image/modeicon/"..M.icon..".png")
|
M.icon=M.icon and(modeIcons[M.icon]or gc.newImage("media/image/modeicon/"..M.icon..".png"))
|
||||||
end
|
end
|
||||||
if not MODES[STAT.lastPlay]then
|
if not MODES[STAT.lastPlay]then
|
||||||
STAT.lastPlay='sprint_10l'
|
STAT.lastPlay='sprint_10l'
|
||||||
|
|||||||
Reference in New Issue
Block a user