Finally fix leaderboard hiding

This commit is contained in:
2025-11-24 12:02:16 -05:00
parent 72f8791276
commit 017ce48835

View File

@@ -69,10 +69,10 @@ export async function onRequestPost(context: RequestContext) {
// If not a ban action // If not a ban action
if (v === 1) { if (v === 1) {
newActions[user].hidden_from_leaderboards = true; newActions[k].hidden_from_leaderboards = true;
} else if (v === 3) { } else if (v === 3) {
newActions[user].serverconfigurator_blacklist = true; newActions[k].serverconfigurator_blacklist = true;
newActions[user].BanType = 1; newActions[k].BanType = 1;
} }
} }