mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 13:33:55 -07:00
Change check.
Took 3 minutes
This commit is contained in:
parent
997daa9c45
commit
80b8a6dc0b
1 changed files with 1 additions and 1 deletions
|
|
@ -408,7 +408,7 @@ void GameScene::onArrowCreateRequested(ArrowData data)
|
|||
|
||||
void GameScene::onArrowDeleteRequested(int arrowId)
|
||||
{
|
||||
if (auto *arrow = arrowRegistry.value(arrowId)) {
|
||||
if (arrowRegistry.contains(arrowId)) {
|
||||
emit requestArrowDeletion(arrowId);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue