Browse Source

Show GMs differently in Announcements

master
Gregory Rudolph 3 years ago
parent
commit
4eaf226349
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      Pages/Index.cshtml.cs

2
Pages/Index.cshtml.cs

@ -216,7 +216,7 @@ namespace NightmareCoreWeb2.Pages @@ -216,7 +216,7 @@ namespace NightmareCoreWeb2.Pages
ret += "<br/><h1 align=\"center\">Online Players</h1>\n";
foreach (Character c in OnlineCharacters)
{
Account a = new Account(c.Username)
Account a = new Account(c.Username);
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>";
} else {

Loading…
Cancel
Save