mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Add socials to the game.
This commit is contained in:
parent
4e333d1387
commit
ba64c364f4
11 changed files with 699 additions and 122 deletions
|
@ -1154,7 +1154,7 @@ namespace HISP.Server
|
|||
{
|
||||
db.Open();
|
||||
MySqlCommand sqlCommand = db.CreateCommand();
|
||||
sqlCommand.CommandText = "INSERT INTO RiddlesComplete VALUES(@riddleId, @playerId, \"YES\")";
|
||||
sqlCommand.CommandText = "INSERT INTO RiddlesComplete VALUES(@playerId, @riddleId, \"YES\")";
|
||||
sqlCommand.Parameters.AddWithValue("@riddleId", riddleId);
|
||||
sqlCommand.Parameters.AddWithValue("@playerId", playerId);
|
||||
sqlCommand.Prepare();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue