Resolves change requests
This commit is contained in:
@@ -787,11 +787,9 @@ function draw.norm(P,repMode)
|
||||
gc_scale(P.size)
|
||||
|
||||
-- Draw username
|
||||
if GAME.modUsed and P.frameRun>GAME.modUsed*26 or not GAME.modUsed then
|
||||
setFont(30)
|
||||
gc_setColor(GROUP_COLORS[P.group])
|
||||
GC.mStr(P.username or USERS.getUsername(P.uid),300,-60)
|
||||
end
|
||||
setFont(30)
|
||||
gc_setColor(GROUP_COLORS[P.group])
|
||||
GC.mStr(P.username or USERS.getUsername(P.uid),300,-60)
|
||||
|
||||
-- Draw HUD
|
||||
if ENV.nextCount>0 then _drawNext(P,repMode) end
|
||||
|
||||
@@ -203,15 +203,15 @@ local function _executeMod(P)
|
||||
if GAME.mod[i]>0 then
|
||||
local M=MODOPT[i]
|
||||
if applyStatus=='always' then
|
||||
if M.funcA1 then
|
||||
M.funcA1(P,M.list and M.list[GAME.mod[i]])
|
||||
elseif M.funcA then
|
||||
table.insert(GAME.modCodeList[P.id],function() M.func(P,M.list and M.list[GAME.mod[i]]) end)
|
||||
if M.funcOnce then
|
||||
M.funcOnce(P,M.list and M.list[GAME.mod[i]])
|
||||
elseif M.funcRepe then
|
||||
table.insert(GAME.modCodeList[P.id],function() M.funcInit(P,M.list and M.list[GAME.mod[i]]) end)
|
||||
else
|
||||
M.func(P,M.list and M.list[GAME.mod[i]])
|
||||
M.funcInit(P,M.list and M.list[GAME.mod[i]])
|
||||
end
|
||||
else -- Already checked pre or post before calling _executeMod()
|
||||
M.func(P,M.list and M.list[GAME.mod[i]])
|
||||
M.funcInit(P,M.list and M.list[GAME.mod[i]])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user