fix count updating

This commit is contained in:
Florian Baumann 2022-01-04 12:04:46 +01:00
parent 62ea0d13db
commit f5b0850ab7
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
mvp
* single view for card, with history
* remove card (double exec to reduce count)
optional

View File

@ -24,6 +24,6 @@ func increase_count_of_card(coll *Collection, c *Card) error {
}
coll.storage_update(update_filter, update)
LogMessage(fmt.Sprintf("Updating Card \"%s\" amount to %d", stored_card.Name, stored_card.SerraCount), "purple")
LogMessage(fmt.Sprintf("Updating Card \"%s\" amount to %d", stored_card.Name, stored_card.SerraCount+1), "purple")
return nil
}