Small tweak
This commit is contained in:
@@ -787,7 +787,7 @@ function draw.norm(P,repMode)
|
|||||||
gc_scale(P.size)
|
gc_scale(P.size)
|
||||||
|
|
||||||
-- Draw username
|
-- 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)
|
setFont(30)
|
||||||
gc_setColor(GROUP_COLORS[P.group])
|
gc_setColor(GROUP_COLORS[P.group])
|
||||||
GC.mStr(P.username or USERS.getUsername(P.uid),300,-60)
|
GC.mStr(P.username or USERS.getUsername(P.uid),300,-60)
|
||||||
|
|||||||
@@ -24,7 +24,12 @@ function scene.enter()
|
|||||||
BG.set('tunnel')
|
BG.set('tunnel')
|
||||||
end
|
end
|
||||||
function scene.back()
|
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
|
end
|
||||||
|
|
||||||
function scene.mouseMove(x,y)
|
function scene.mouseMove(x,y)
|
||||||
|
|||||||
Reference in New Issue
Block a user