diff options
author | alex | 2018-12-03 23:21:11 +0000 |
---|---|---|
committer | alex | 2018-12-03 23:21:11 +0000 |
commit | ca91956e27ab31b5cef5af4927fe37b0671ce092 (patch) | |
tree | f8ff3f5af4748dd940d08c2404ea4dca6b80e751 /wat/db.go | |
parent | 88d612e041691268d97ab1ae01a2c1d8c7db5fe7 (diff) | |
download | watbot-ca91956e27ab31b5cef5af4927fe37b0671ce092.tar.gz watbot-ca91956e27ab31b5cef5af4927fe37b0671ce092.tar.bz2 watbot-ca91956e27ab31b5cef5af4927fe37b0671ce092.zip |
int64 -> uint64 for coins, disable noisy logging, turned off wattery (it was quickly abused), made anarchy less likely to win and time limited
Diffstat (limited to 'wat/db.go')
-rw-r--r-- | wat/db.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) } } |