fix bug with multi-attach sometimes only attaching one card (#5272)

This commit is contained in:
RickyRister 2024-12-19 05:38:57 -08:00 committed by GitHub
parent 90281262be
commit 17e6bfaca6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 4 deletions

View file

@ -21,6 +21,7 @@ protected:
Player *player;
int id;
ArrowTarget *startItem, *targetItem;
bool targetLocked;
QColor color;
bool fullColor;
void mousePressEvent(QGraphicsSceneMouseEvent *event);
@ -64,6 +65,10 @@ public:
{
return targetItem;
}
void setTargetLocked(bool _targetLocked)
{
targetLocked = _targetLocked;
}
void delArrow();
};