start_round with minigame name #1

Merged
conco merged 3 commits from terry-races into master 2023-08-03 06:15:15 +00:00
Showing only changes of commit ef88c51454 - Show all commits

View File

@@ -120,15 +120,7 @@ public partial class RoundManager : Entity
RoundState = RoundState.InProgress;
Players = All.OfType<Lucker>().ToList();
if ( string.IsNullOrEmpty( minigameName ) )
{
MinigameManager.StartMinigame( Players );
}
else
{
MinigameManager.StartMinigame( Players, minigameName );
}
MinigameManager.StartMinigame( Players, minigameName );
}
fork marked this conversation as resolved Outdated
Outdated
Review

Just pass in minigameName, we check if it's null so either it's null and we pass null or we dont pass null and it's stil null.

Just pass in minigameName, we check if it's null so either it's null and we pass null or we dont pass null and it's stil null.
Outdated
Review

DONE

DONE
[ConCmd.Server( "start_round" )]