Core/DB: Fixes sometimes wrong values added to DB, also fixes errors when trying to convert updatefield to object.

This commit is contained in:
hondacrx
2021-04-21 18:06:46 -04:00
parent 897ca11273
commit ba064327b0
30 changed files with 149 additions and 89 deletions
+1 -1
View File
@@ -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);