Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qutrits committed Jul 1, 2023
1 parent 4728ff6 commit 7c2d714
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Views/Overlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -867,9 +867,9 @@ private void UpdateInfo() {
if (this.lastRound.UseShareCode && this.lastRound.CreativeTimeLimitSeconds == 0) {
this.lastRound.CreativeTimeLimitSeconds = this.StatsForm.GetTimeLimitSecondsFromShareCode(this.lastRound.ShowNameId);
}
// this.lblDuration.Text = this.lastRound.UseShareCode && this.lastRound.CreativeTimeLimitSeconds > 0
// ? $"{Multilingual.GetWord("overlay_duration")} ({TimeSpan.FromSeconds(this.lastRound.CreativeTimeLimitSeconds):m\\:ss}):"
// : $"{Multilingual.GetWord("overlay_duration")} :";
this.lblDuration.Text = this.lastRound.UseShareCode && this.lastRound.CreativeTimeLimitSeconds > 0
? $"{Multilingual.GetWord("overlay_duration")} ({TimeSpan.FromSeconds(this.lastRound.CreativeTimeLimitSeconds):m\\:ss}) :"
: $"{Multilingual.GetWord("overlay_duration")} :";

if (end != DateTime.MinValue) {
// if (this.lastRound.UseShareCode && this.lastRound.CreativeTimeLimitSeconds > 0) {
Expand Down

0 comments on commit 7c2d714

Please sign in to comment.