Skip to content

Commit

Permalink
Merge pull request #339 from AstralSkies/master
Browse files Browse the repository at this point in the history
Added spy admin level support
  • Loading branch information
ethanmoffat authored Apr 14, 2024
2 parents 9815e1e + 05445ee commit e3dbbe6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions EOLib/Domain/Character/AdminLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ namespace EOLib.Domain.Character
public enum AdminLevel
{
Player,
Spy,
Guide,
Guardian,
GM,
Expand Down
3 changes: 2 additions & 1 deletion EndlessClient/UIControls/CharacterInfoPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,9 @@ private ISpriteSheet CreateAdminGraphic(AdminLevel adminLevel)
{
case AdminLevel.Player:
return new EmptySpriteSheet();
case AdminLevel.Guide:
case AdminLevel.Spy:
return new SpriteSheet(adminGraphic, new Rectangle(252, 39, 17, 17));
case AdminLevel.Guide:
case AdminLevel.Guardian:
case AdminLevel.GM:
case AdminLevel.HGM:
Expand Down

0 comments on commit e3dbbe6

Please sign in to comment.