Remove lobby preload (#15670)
This commit is contained in:
@@ -136,15 +136,17 @@ namespace Content.Client.Lobby
|
||||
return;
|
||||
}
|
||||
|
||||
_lobby!.StationTime.Text = Loc.GetString("lobby-state-player-status-round-not-started");
|
||||
string text;
|
||||
|
||||
if (_gameTicker.Paused)
|
||||
{
|
||||
text = Loc.GetString("lobby-state-paused");
|
||||
}
|
||||
else if ((_gameTicker.StartTime - _gameTicker.PreloadTime) < _gameTiming.CurTime)
|
||||
else if (_gameTicker.StartTime < _gameTiming.CurTime)
|
||||
{
|
||||
text = Loc.GetString("lobby-state-preloading");
|
||||
_lobby!.StartTime.Text = Loc.GetString("lobby-state-soon");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -160,7 +162,6 @@ namespace Content.Client.Lobby
|
||||
}
|
||||
}
|
||||
|
||||
_lobby!.StationTime.Text = Loc.GetString("lobby-state-player-status-round-not-started");
|
||||
_lobby!.StartTime.Text = Loc.GetString("lobby-state-round-start-countdown-text", ("timeLeft", text));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user