diff --git a/Pages/Index.cshtml.cs b/Pages/Index.cshtml.cs index 4e040b6..81824f3 100644 --- a/Pages/Index.cshtml.cs +++ b/Pages/Index.cshtml.cs @@ -216,7 +216,12 @@ namespace NightmareCoreWeb2.Pages ret += "

Online Players

\n"; foreach (Character c in OnlineCharacters) { - ret += $"

{c.Username}: Level {c.Level} {c.GetRace()} {c.GetClass()}, {c.Name}

"; + Account a = new Account(c.Username) + if (a.IsGM) { + ret += $"

[GM] {c.Username}: {c.GetRace()} {c.GetClass()}, {c.Name}

"; + } else { + ret += $"

{c.Username}: Level {c.Level} {c.GetRace()} {c.GetClass()}, {c.Name}

"; + } } }