diff --git a/leaderboard.lua b/leaderboard.lua index cf18683..e355978 100644 --- a/leaderboard.lua +++ b/leaderboard.lua @@ -215,13 +215,17 @@ local cv_spb_separate = CV_RegisterVar({ flags = CV_NETVAR | CV_CALL | CV_NOINIT, PossibleValue = CV_YesNo, func = function(v) + local curSep = ST_SEP + if v.value then ST_SEP = F_SPBATK else ST_SEP = F_SPBATK | F_SPBBIG | F_SPBEXP end - reinit_lb() + if curSep != ST_SEP then + reinit_lb() + end end })