Fix turn ending

This commit is contained in:
Ivan Savenko
2023-08-24 23:34:33 +03:00
parent c4bc6840ea
commit d83aa828f6
8 changed files with 43 additions and 22 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ void ApplyGhNetPackVisitor::visitEndTurn(EndTurn & pack)
if (!gh.hasPlayerAt(pack.player, pack.c))
gh.throwAndComplain(&pack, "No such pack.player!");
result = gh.turnOrder->onPlayerEndsTurn(pack.player);
result = gh.turnOrder->onPlayerEndsTurn(pack.player, PlayerTurnEndReason::CLIENT_REQUEST);
}
void ApplyGhNetPackVisitor::visitDismissHero(DismissHero & pack)