From 72226c5d692ad45c87c8d8ef346345184062447f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 27 Sep 2021 06:31:24 -0300 Subject: Sanitize Aurora scoreboards --- npc/functions/scoreboards.txt | 2 ++ 1 file changed, 2 insertions(+) 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"; -- cgit v1.2.3-60-g2f50