Small tweak
This commit is contained in:
@@ -787,7 +787,7 @@ function draw.norm(P,repMode)
|
||||
gc_scale(P.size)
|
||||
|
||||
-- Draw username
|
||||
if GAME.modUsed and P.frameRun>480 or true then
|
||||
if GAME.modUsed and P.frameRun>GAME.modUsed*2.6 or not GAME.modUsed then
|
||||
setFont(30)
|
||||
gc_setColor(GROUP_COLORS[P.group])
|
||||
GC.mStr(P.username or USERS.getUsername(P.uid),300,-60)
|
||||
|
||||
@@ -24,7 +24,12 @@ function scene.enter()
|
||||
BG.set('tunnel')
|
||||
end
|
||||
function scene.back()
|
||||
GAME.modUsed=usingMod()
|
||||
local totalModUsed=0
|
||||
for i=1,#GAME.mod do
|
||||
if GAME.mod[i]>0 then totalModUsed=totalModUsed+1
|
||||
end
|
||||
end
|
||||
GAME.modUsed=totalModUsed>0 and totalModUsed or false
|
||||
end
|
||||
|
||||
function scene.mouseMove(x,y)
|
||||
|
||||
Reference in New Issue
Block a user