#361
Solved
crash: Moving a group of cards to your hand (with tokens)
Reported by brine on OCTGN · 04/04/2011 06:03:23
- Assigned to:
- jods
- Priority:
- Normal
- Status:
- Solved
- Category:
- Play module
- Version:
- 0.9.*
- Issue type:
- Bug
I’ve been able to successfully replicate this bug several times. It seems that when you select a group of cards on the table, if one of those cards is a copy or token, you will get a crash when you move them to your hand too quickly.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.ArgumentOutOfRangeException: Index must be within the bounds of the List.- End of inner exception stack trace
Parameter name: index
at System.Collections.ObjectModel.Collection`1.Insert
at Octgn.Play.Group.AddAt(Card card, Int32 idx) in C:\OCTGN FX\Octgn\Play\Group.cs:line 102
at Octgn.Play.Actions.MoveCard.Do() in C:\OCTGN FX\Octgn\Play\Actions\Move.cs:line 53
at Octgn.Play.Card.MoveTo(Group to, Boolean faceUp, Int32 idx) in C:\OCTGN FX\Octgn\Play\Card.cs:line 279
at Octgn.Play.Gui.HandControl.OnCardDropped(Object sender, CardsEventArgs e) in C:\OCTGN FX\Octgn\Play\Gui\HandControl.xaml.cs:line 45
--
Attachments
No attachment has been uploaded, yet.
Loading comments...