Skip to content

Commit

Permalink
refactor: Indicate the placeholder name for better clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 committed Sep 21, 2024
1 parent 6ee5bc7 commit 8d87cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application/Teams/Flags/Events/OnFlagAtBasePosition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class OnFlagAtBasePosition : IFlagEvent

public void Handle(Team team, Player player)
{
var text = Smart.Format(Messages.OnFlagAtBasePosition, team);
var text = Smart.Format(Messages.OnFlagAtBasePosition, new { GameText = team.GameText });
player.GameText(text, 5000, 3);
}
}

0 comments on commit 8d87cb0

Please sign in to comment.