fix count updating
This commit is contained in:
parent
62ea0d13db
commit
f5b0850ab7
@ -10,6 +10,7 @@
|
||||
mvp
|
||||
|
||||
* single view for card, with history
|
||||
* remove card (double exec to reduce count)
|
||||
|
||||
optional
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user