[Server][Game][Arrows] Properly notify clients when deleting arrows on card move and transform into (#6936)

* [Server][Game][Arrows] Properly notify clients when deleting arrows on card move and transform into

Took 15 minutes

* Observe "not found" response

Took 18 minutes

Took 4 seconds

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2026-05-25 08:19:17 +02:00 committed by GitHub
parent 98c00c55ed
commit 90ab663212
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 33 additions and 8 deletions

View file

@ -1147,6 +1147,7 @@ void TabGame::createPlayAreaWidget(bool bReplay)
connect(game->getPlayerManager(), &PlayerManager::playerCountChanged, scene, &GameScene::rearrange);
connect(scene, &GameScene::requestArrowDeletion, game->getGameEventHandler(),
&GameEventHandler::handleArrowDeletion);
connect(game->getGameEventHandler(), &GameEventHandler::arrowDeleted, scene, &GameScene::onArrowDeleted);
gameView = new GameView(scene);
auto gamePlayAreaVBox = new QVBoxLayout;