diff --git a/leaderboard.lua b/leaderboard.lua index b06f2b5..f66064d 100644 --- a/leaderboard.lua +++ b/leaderboard.lua @@ -78,7 +78,7 @@ local allowJoin local cv_gui = CV_RegisterVar({ name = "lb_gui", - defaultvalue = GUI_ON, + defaultvalue = "On", flags = 0, PossibleValue = {Off = GUI_OFF, Splits = GUI_SPLITS, On = GUI_ON} }) @@ -86,7 +86,7 @@ local cv_gui = CV_RegisterVar({ local AntiAFK = true CV_RegisterVar({ name = "lb_afk", - defaultvalue = 1, + defaultvalue = "On", flags = CV_NETVAR | CV_CALL, PossibleValue = CV_OnOff, func = function(v) @@ -105,7 +105,7 @@ CV_RegisterVar({ local cv_enable = CV_RegisterVar({ name = "lb_enable", - defaultvalue = 1, + defaultvalue = "On", flags = CV_NETVAR | CV_CALL, PossibleValue = CV_OnOff, func = function(v) @@ -125,7 +125,7 @@ local cv_saves = CV_RegisterVar({ local cv_interrupt = CV_RegisterVar({ name = "lb_interrupt", - defaultvalue = 0, + defaultvalue = "Off", flags = CV_NETVAR | CV_CALL, PossibleValue = CV_OnOff, func = function(v) @@ -193,7 +193,7 @@ end local cv_spb_separate = CV_RegisterVar({ name = "lb_spb_combined", - defaultvalue = 1, + defaultvalue = "On", flags = CV_NETVAR | CV_CALL, PossibleValue = CV_YesNo, func = function(v)