Resolves change requests

This commit is contained in:
SweetSea-ButImNotSweet
2024-01-08 11:33:01 +07:00
parent dc8488ff61
commit 536174220d
6 changed files with 57 additions and 82 deletions

View File

@@ -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

View File

@@ -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