回放时模式名称下边不再显示当前模式本地pb
This commit is contained in:
@@ -439,20 +439,22 @@ function scene.draw()
|
|||||||
local dy=SETTING.portrait and -390 or 0
|
local dy=SETTING.portrait and -390 or 0
|
||||||
gc_setColor(1,1,1,.82)
|
gc_setColor(1,1,1,.82)
|
||||||
gc_draw(TEXTOBJ.modeName,modeTextPos,10+dy,0,modeTextWidK,1)
|
gc_draw(TEXTOBJ.modeName,modeTextPos,10+dy,0,modeTextWidK,1)
|
||||||
local M=GAME.curMode
|
if not replaying then
|
||||||
if M then
|
local M=GAME.curMode
|
||||||
if M.score and M.records[1] then
|
if M then
|
||||||
setFont(15)
|
if M.score and M.records[1] then
|
||||||
gc_setColor(1,1,1,.6)
|
setFont(15)
|
||||||
gc_print(M.scoreDisp(M.records[1]),modeTextPos,45+dy)
|
gc_setColor(1,1,1,.6)
|
||||||
end
|
gc_print(M.scoreDisp(M.records[1]),modeTextPos,45+dy)
|
||||||
if M.getRank then
|
end
|
||||||
local R=M.getRank(PLAYERS[1])
|
if M.getRank then
|
||||||
if R and R>0 then
|
local R=M.getRank(PLAYERS[1])
|
||||||
setFont(100)
|
if R and R>0 then
|
||||||
local c=RANK_COLORS[R]
|
setFont(100)
|
||||||
gc_setColor(c[1],c[2],c[3],.12)
|
local c=RANK_COLORS[R]
|
||||||
mStr(RANK_CHARS[R],640,50+dy)
|
gc_setColor(c[1],c[2],c[3],.12)
|
||||||
|
mStr(RANK_CHARS[R],640,50+dy)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user