summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-09-27 06:31:24 -0300
committerJesusaves <cpntb1@ymail.com>2021-09-27 06:31:24 -0300
commit72226c5d692ad45c87c8d8ef346345184062447f (patch)
tree1a443aeaeb6b8e195ec7035d953930094009c782
parentbe45c124915ca1f4de50b70572d8f28a0c8998b0 (diff)
downloadserverdata-r13.6_20210927.tar.gz
serverdata-r13.6_20210927.tar.bz2
serverdata-r13.6_20210927.tar.xz
serverdata-r13.6_20210927.zip
Sanitize Aurora scoreboardsr13.6_20210927
-rw-r--r--npc/functions/scoreboards.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt
index 384a914fc..c5607ba49 100644
--- a/npc/functions/scoreboards.txt
+++ b/npc/functions/scoreboards.txt
@@ -32,6 +32,8 @@ function script ScoreboardsReload {
.@nb = query_sql("SELECT c.name, i.count3 FROM `quest` AS i, `char` AS c WHERE i.quest_id="+SQuest_Christmas+" AND i.char_id=c.char_id ORDER BY i.count3 DESC LIMIT 5", $@xmas_gp_name$, $@xmas_gp_value);
}
if (FYEventUsesRanking()) {
+ deletearray $@aurora_name$;
+ deletearray $@aurora_value;
.@nb = query_sql("SELECT c.name, i.count2 FROM `quest` AS i, `char` AS c WHERE i.quest_id="+Q_AuroraEvent+" AND i.char_id=c.char_id ORDER BY i.count2 DESC LIMIT 10", $@aurora_name$, $@aurora_value);
}
debugmes "Scoreboards reloaded";