wip
This commit is contained in:
@ -72,7 +72,7 @@ public static function Load(E_LogLevel LogLevel)
|
||||
if (default.CheckGroupTimer < 0)
|
||||
{
|
||||
`Log_Error("CheckGroupTimer" @ "(" $ default.CheckGroupTimer $ ")" @ "must be equal or greater than 0");
|
||||
default.CheckGroupTimer = 10;
|
||||
default.CheckGroupTimer = 0;
|
||||
}
|
||||
|
||||
if (!IsValidHexColor(default.HexColorOwner, LogLevel))
|
||||
@ -118,7 +118,7 @@ private static function ApplyDefault(E_LogLevel LogLevel)
|
||||
default.HexColorPlayer = "FFFFFF";
|
||||
default.HexColorLeave = "FF0000";
|
||||
|
||||
default.CheckGroupTimer = 10;
|
||||
default.CheckGroupTimer = 0;
|
||||
}
|
||||
|
||||
private static function bool IsValidHexColor(String HexColor, E_LogLevel LogLevel)
|
||||
|
@ -361,11 +361,14 @@ public function NotifyLogin(Controller C)
|
||||
IncreaseXPBoost(RepInfo.GetKFPC());
|
||||
}
|
||||
|
||||
RepInfo.WriteToChatLocalized(
|
||||
MSKGS_AllowedLevels,
|
||||
CfgLevels.default.HexColorInfo,
|
||||
String(CfgLevels.static.MinLevel()),
|
||||
String(CfgLevels.static.MaxLevel()));
|
||||
if (CfgLevels.static.MinLevel() != 0 || CfgLevels.static.MaxLevel() != `MAX_PERK_LEVEL)
|
||||
{
|
||||
RepInfo.WriteToChatLocalized(
|
||||
MSKGS_AllowedLevels,
|
||||
CfgLevels.default.HexColorInfo,
|
||||
String(CfgLevels.static.MinLevel()),
|
||||
String(CfgLevels.static.MaxLevel()));
|
||||
}
|
||||
}
|
||||
|
||||
public function NotifyLogout(Controller C)
|
||||
|
Reference in New Issue
Block a user