removed unusued code
parent
cf1b33e170
commit
64bbaed3ed
|
@ -173,12 +173,6 @@ func UpdateAccountEggs(uuid []byte, eggs []defs.EggData) error {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
var buf bytes.Buffer
|
|
||||||
err := gob.NewEncoder(&buf).Encode(egg)
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
_, err = handle.Exec(`INSERT INTO eggs (uuid, owner, gachaType, hatchWaves, timestamp)
|
_, err = handle.Exec(`INSERT INTO eggs (uuid, owner, gachaType, hatchWaves, timestamp)
|
||||||
VALUES (?, ?, ?, ?, ?)
|
VALUES (?, ?, ?, ?, ?)
|
||||||
ON DUPLICATE KEY UPDATE hatchWaves = ?`,
|
ON DUPLICATE KEY UPDATE hatchWaves = ?`,
|
||||||
|
|
Loading…
Reference in New Issue