diff --git a/Helpers/Helpers.cs b/Helpers/Helpers.cs index c6b401d..1f2eca2 100644 --- a/Helpers/Helpers.cs +++ b/Helpers/Helpers.cs @@ -124,7 +124,7 @@ private static bool ChangePlayerTeam(ulong steamId, CsTeam newTeam) return true; } - player.ChangeTeam(newTeam); + player.SwitchTeam(newTeam); playerCache.AddOrUpdate(steamId, (key) => diff --git a/TeamBalance.toml b/TeamBalance.toml index 65f1f5c..b80a957 100644 --- a/TeamBalance.toml +++ b/TeamBalance.toml @@ -11,7 +11,7 @@ # [white], [darkred], [green], [lightyellow], [lightblue], [olive], [lime], # [red], [lightpurple], [purple], [grey], [yellow], [gold], [silver], [blue], # [darkblue], [bluegrey], [magenta], [lightred], [orange] -plugin_chat_tag = "[red][TeamBalance]" +plugin_chat_tag = "{red}[TeamBalance]" # Minimum number of players required on the server before team balance activates. # Prevents balancing when there are too few players. diff --git a/lang/hu.json b/lang/hu.json new file mode 100644 index 0000000..e69de29