This commit is contained in:
Bluzume 2022-03-10 21:50:37 +13:00 committed by GitHub
parent a42add5b42
commit 4986fbb442
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5812,7 +5812,7 @@ namespace HISP.Server
{
DbCommand sqlCommand = db.CreateCommand();
sqlCommand.CommandText = "UPDATE UserExt SET Hunger=@hunger WHERE Id=@id";
addWithValue(sqlCommand, "@Hunger", hunger);
addWithValue(sqlCommand, "@hunger", hunger);
addWithValue(sqlCommand, "@id", id);
sqlCommand.Prepare();
sqlCommand.ExecuteNonQuery();