public void MarkAttackerReady(IApiClient client, RoundController roundController) { if (GameRoomController.GameRoomState == null || !GameRoomController.GameRoomState.IsBothPlayersConnected()) { client.ErrorOccured("Trying mark attacker as ready before room created and/or both players are ready."); return; } client.AttackerWasMarkedReady(); SetupState.IsAttackerReady = true; OnPlayerReady(client, roundController); }