Finally fix leaderboard hiding
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user