Core/DB: Fixes sometimes wrong values added to DB, also fixes errors when trying to convert updatefield to object.
This commit is contained in:
@@ -100,7 +100,7 @@ namespace Game.DungeonFinding
|
||||
stmt = DB.Characters.GetPreparedStatement(CharStatements.INS_LFG_DATA);
|
||||
stmt.AddValue(0, db_guid);
|
||||
stmt.AddValue(1, GetDungeon(guid));
|
||||
stmt.AddValue(2, GetState(guid));
|
||||
stmt.AddValue(2, (uint)GetState(guid));
|
||||
trans.Append(stmt);
|
||||
|
||||
DB.Characters.CommitTransaction(trans);
|
||||
|
||||
Reference in New Issue
Block a user