Show GMs differently in Announcements

This commit is contained in:
2021-09-17 10:40:18 -04:00
parent a0b2e8d50d
commit 4eaf226349

View File

@ -216,7 +216,7 @@ namespace NightmareCoreWeb2.Pages
ret += "<br/><h1 align=\"center\">Online Players</h1>\n"; ret += "<br/><h1 align=\"center\">Online Players</h1>\n";
foreach (Character c in OnlineCharacters) foreach (Character c in OnlineCharacters)
{ {
Account a = new Account(c.Username) Account a = new Account(c.Username);
if (a.IsGM) { if (a.IsGM) {
ret += $"<p>[GM] <a href=\"https://wotdn.nightmare.haus/?handler=Account&amp;name={c.Username}\">{c.Username}</a>: {c.GetRace()} {c.GetClass()}, {c.Name}</p>"; ret += $"<p>[GM] <a href=\"https://wotdn.nightmare.haus/?handler=Account&amp;name={c.Username}\">{c.Username}</a>: {c.GetRace()} {c.GetClass()}, {c.Name}</p>";
} else { } else {