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
@@ -995,7 +995,7 @@ namespace Game.Entities
stmt.AddValue(index++, m_worldRotation.W);
stmt.AddValue(index++, m_respawnDelayTime);
stmt.AddValue(index++, GetGoAnimProgress());
stmt.AddValue(index++, GetGoState());
stmt.AddValue(index++, (byte)GetGoState());
DB.World.Execute(stmt);
}