From 28578f3b9f88121469c3680d2dcdb30856600767 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Wed, 24 Nov 2021 07:21:31 -0600 Subject: [PATCH] Remove unused clan rank class members --- scripts/server/class.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/server/class.js b/scripts/server/class.js index 67f665c4..5d3a4723 100644 --- a/scripts/server/class.js +++ b/scripts/server/class.js @@ -824,8 +824,7 @@ class ClanRankData { this.level = toInteger(dbAssoc["clan_rank_level"]); this.flags = toInteger(dbAssoc["clan_rank_flags"]); this.tag = dbAssoc["clan_rank_tag"]; - this.enabled = intToBool(toInteger(dbAssoc["clan_enabled"])); - this.colour = toColour(toInteger(dbAssoc["clan_colour_r"]), toInteger(dbAssoc["clan_colour_g"]), toInteger(dbAssoc["clan_colour_b"])); + this.enabled = intToBool(toInteger(dbAssoc["clan_rank_enabled"])); } } };