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
+2 -2
View File
@@ -63,8 +63,8 @@ namespace Game
}
else
{
stmt.AddValue(5, null);
stmt.AddValue(6, null);
stmt.AddNull(5);
stmt.AddNull(6);
}
DB.Login.DirectExecute(stmt); // Enforce saving, otherwise AddGroup can fail