gfgf
This commit is contained in:
parent
52da4288c7
commit
15b7a78bad
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ def buy(v, award):
|
||||||
v.coins -= price
|
v.coins -= price
|
||||||
g.db.add(v)
|
g.db.add(v)
|
||||||
|
|
||||||
|
g.db.flush()
|
||||||
thing = g.db.query(AwardRelationship).order_by(AwardRelationship.id.desc()).first().id
|
thing = g.db.query(AwardRelationship).order_by(AwardRelationship.id.desc()).first().id
|
||||||
thing += 1
|
thing += 1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue