Skip to content

Commit

Permalink
fix info message
Browse files Browse the repository at this point in the history
  • Loading branch information
Bims-sh committed Oct 18, 2024
1 parent 3fe3279 commit 578966e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Events/HideAndSeekGamemode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ private async void StartPlayerSeekerMeter()
private async void StartWaitingForPlayersMessage()
{
Program.Logger.Info("Waiting for players to join!");
StartInfoMessage();
while (State == MinigameStates.WaitingForPlayers && Server.CurrentPlayerCount < RequiredPlayerCountToStart)
{
try
Expand Down Expand Up @@ -198,8 +199,6 @@ private async void StartInfoMessage()
Server.AllPlayers.Count(player => player.IsAlive && !IsPlayerSeeking(player));
foreach (var player in Server.AllPlayers)
{


var isSeeking = IsPlayerSeeking(player);
var seekerMeter = player.GetPlayerProperty(IPlayerProperties.IHideAndSeekPlayerProperties.SeekingMeter);
var message = new StringBuilder();
Expand Down

0 comments on commit 578966e

Please sign in to comment.