]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Set ahelp new player icon to use minutes, not seconds (#29014)
authorLankLTE <135308300+LankLTE@users.noreply.github.com>
Sat, 15 Jun 2024 06:35:34 +0000 (23:35 -0700)
committerGitHub <noreply@github.com>
Sat, 15 Jun 2024 06:35:34 +0000 (16:35 +1000)
Replace seconds with minutes

Content.Client/Administration/UI/Bwoink/BwoinkControl.xaml.cs

index af977f763c6c05a744f14bada161b76331e52b01..0f5f72cc27a42e804827856e3d95982a9ccff503 100644 (file)
@@ -75,7 +75,7 @@ namespace Content.Client.Administration.UI.Bwoink
                 if (info.Antag && info.ActiveThisRound)
                     sb.Append(new Rune(0x1F5E1)); // 🗡
 
-                if (info.OverallPlaytime <= TimeSpan.FromSeconds(_cfg.GetCVar(CCVars.NewPlayerThreshold)))
+                if (info.OverallPlaytime <= TimeSpan.FromMinutes(_cfg.GetCVar(CCVars.NewPlayerThreshold)))
                     sb.Append(new Rune(0x23F2)); // ⏲
 
                 sb.AppendFormat("\"{0}\"", text);
@@ -226,7 +226,7 @@ namespace Content.Client.Administration.UI.Bwoink
             if (pl.Antag)
                 sb.Append(new Rune(0x1F5E1)); // 🗡
 
-            if (pl.OverallPlaytime <= TimeSpan.FromSeconds(_cfg.GetCVar(CCVars.NewPlayerThreshold)))
+            if (pl.OverallPlaytime <= TimeSpan.FromMinutes(_cfg.GetCVar(CCVars.NewPlayerThreshold)))
                 sb.Append(new Rune(0x23F2)); // ⏲
 
             sb.AppendFormat("\"{0}\"", pl.CharacterName);