- Small fixes 🍕
This commit is contained in:
Dawid Bepierszcz
2024-03-05 12:27:19 +01:00
parent 5f83645867
commit 44177f18fe
10 changed files with 43 additions and 35 deletions

View File

@@ -170,9 +170,9 @@ namespace WeaponPaints
{
await using var connection = await _database.GetConnectionAsync();
string query = @"
INSERT INTO `wp_player_agents` (`steamid`, `agent_ct`, `agent_t`)
VALUES(@steamid, @agent_ct, @agent_t)
ON DUPLICATE KEY UPDATE
INSERT INTO `wp_player_agents` (`steamid`, `agent_ct`, `agent_t`)
VALUES(@steamid, @agent_ct, @agent_t)
ON DUPLICATE KEY UPDATE
`agent_ct` = @agent_ct,
`agent_t` = @agent_t";