summaryrefslogtreecommitdiffstats
path: root/wat/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'wat/db.go')
-rw-r--r--wat/db.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/wat/db.go b/wat/db.go
index 53876c3..5f80af4 100644
--- a/wat/db.go
+++ b/wat/db.go
@@ -20,6 +20,7 @@ type Player struct {
LastMined int64
LastRested int64
CoinsLost uint64
+ Bankrupcy int64 // how many times someone has been bankrupt
}
type Action struct {
@@ -78,7 +79,7 @@ func (w *WatDb) User(nick, host string, create bool) Player {
func (w *WatDb) Update(upd ...interface{}) {
for _, u := range upd {
- fmt.Printf("Updating %+v\n", u)
+ //fmt.Printf("Updating %+v\n", u)
w.db.Save(u)
}
}