Skip to content

Commit

Permalink
Fixed css_team message
Browse files Browse the repository at this point in the history
  • Loading branch information
daffyyyy committed Dec 12, 2023
1 parent d677551 commit 2105d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CS2-SimpleAdmin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ public void OnTeamCommand(CCSPlayerController? caller, CommandInfo command)
player.ChangeTeam(teamNum);

StringBuilder sb = new(_localizer!["sa_prefix"]);
sb.Append(_localizer["sa_admin_team_message", caller == null ? "Console" : caller.PlayerName, _teamName]);
sb.Append(_localizer["sa_admin_team_message", caller == null ? "Console" : caller.PlayerName, player.PlayerName, _teamName]);
Server.PrintToChatAll(sb.ToString());
}
});
Expand Down

0 comments on commit 2105d80

Please sign in to comment.