Skip to content

Commit

Permalink
Added Hungarian language support.
Browse files Browse the repository at this point in the history
Reverted back to "SwitchTeam" method.
Fixed translations colors
  • Loading branch information
Mesharsky committed Oct 30, 2024
1 parent 677ca81 commit bbe3584
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Helpers/Helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private static bool ChangePlayerTeam(ulong steamId, CsTeam newTeam)
return true;
}

player.ChangeTeam(newTeam);
player.SwitchTeam(newTeam);

playerCache.AddOrUpdate(steamId,
(key) =>
Expand Down
2 changes: 1 addition & 1 deletion TeamBalance.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Empty file added lang/hu.json
Empty file.

0 comments on commit bbe3584

Please sign in to comment.