Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Fooxboy/MyOwnGame
Browse files Browse the repository at this point in the history
  • Loading branch information
Штенгауэр Никита Дмитриевич committed Oct 29, 2023
2 parents f2a1ec3 + 7766996 commit f9cd380
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MyOwnGame.Backend/Services/SessionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ public async Task GetQuestionInfo(int themeNumber, int priceNumber, string conne
//Если это аукцион - возвращаем инфу о том что выбран вопрос, но без вопросов.
if (questionInfo.QuestionPackInfo.Type == QuestionPackType.Auction)
{

await _callbackService.QuestionSelectedAdmin(adminConnectionId, questionInfo.Answer);

await _callbackService.QuestionSelected(currentPlayer.SessionId, new List<QuestionBase>(),
Expand All @@ -355,8 +356,6 @@ public async Task GetQuestionInfo(int themeNumber, int priceNumber, string conne

session.CurrentRound.Themes[themeNumber].Prices[priceNumber].IsAnswered = true;

session.ResetSelectQuestionPlayer();

await _callbackService.QuestionSelected(currentPlayer.SessionId, questionInfo.Questions,
questionInfo.QuestionPackInfo, seconds, themeNumber, priceNumber);

Expand Down

0 comments on commit f9cd380

Please sign in to comment.