typo
This commit is contained in:
parent
96ea706778
commit
f572046cd8
2
obj.go
2
obj.go
@ -647,7 +647,7 @@ func addObjXP(userID64 int64, expNow int64, expLvl int64, level int64, date time
|
|||||||
}
|
}
|
||||||
|
|
||||||
res, err := tx.Exec(`INSERT INTO obj (obj_type_id, obj_sub_type_id)
|
res, err := tx.Exec(`INSERT INTO obj (obj_type_id, obj_sub_type_id)
|
||||||
VALUES (` + strconv.FormatInt(cacheObjType[`xp`], 10) + `,` + strconv.FormatInt(cacheObjSubjType[`xp`], 10) + `);`)
|
VALUES (` + strconv.FormatInt(cacheObjType[`xp`], 10) + `,` + strconv.FormatInt(cacheObjSubType[`xp`], 10) + `);`)
|
||||||
logOnError(err, "addObjXP : exec insert obj")
|
logOnError(err, "addObjXP : exec insert obj")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err2 := tx.Rollback()
|
err2 := tx.Rollback()
|
||||||
|
Loading…
Reference in New Issue
Block a user