Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

Commit

Permalink
Fixed role string in team chat
Browse files Browse the repository at this point in the history
  • Loading branch information
iopietro committed May 10, 2023
1 parent a6fba12 commit 98fe988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TextChat.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<PropertyGroup>
<Authors>iopietro</Authors>
<Version>1.4.9</Version>
<Version>1.4.10</Version>
<Copyright>Copyright © iopietro 2020-$([System.DateTime]::Now.Year)</Copyright>
<RepositoryType>Git</RepositoryType>
<RepositoryUrl>https://github.com/EliteSCP/TextChat</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion src/TextChat/Commands/Console/Chat/Team.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out s
return false;
}

message.Content = response = $"[{player.Nickname}][{Language.Team} ({player.Role.ToString().ToUpper()})]: {response}";
message.Content = response = $"[{player.Nickname}][{Language.Team} ({player.Role.Type.ToString().ToUpper()})]: {response}";

if (TextChat.Instance.Config.ShouldSaveChatToDatabase)
message.Save(ChatRoomType.Team);
Expand Down

0 comments on commit 98fe988

Please sign in to comment.