summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-23 00:39:16 +0200
committeremkael <emkael@tlen.pl>2017-08-23 00:39:16 +0200
commit3dad720214a8dbdfaec1c32dc6e15e33708aaf95 (patch)
tree4798c93003a812d7dc33ad8093be6733f24c7855 /Aktywator
parent1bb11519992d69339943cb20b50fcb7a84769fa7 (diff)
Restoring the functionality of erasing player names
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/MainForm.Designer.cs1
-rw-r--r--Aktywator/MainForm.cs2
2 files changed, 1 insertions, 2 deletions
diff --git a/Aktywator/MainForm.Designer.cs b/Aktywator/MainForm.Designer.cs
index 20066e0..d072ffb 100644
--- a/Aktywator/MainForm.Designer.cs
+++ b/Aktywator/MainForm.Designer.cs
@@ -752,7 +752,6 @@
this.bTruncate.TabIndex = 15;
this.bTruncate.Text = "Usuń nazwiska z bws";
this.bTruncate.UseVisualStyleBackColor = true;
- this.bTruncate.Visible = false;
this.bTruncate.Click += new System.EventHandler(this.bTruncate_Click);
//
// bMysqlSettings
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index 25268b6..24322cb 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -379,7 +379,7 @@ namespace Aktywator
{
try
{
- bws.sql.query("UPDATE PlayerNumbers SET Name='XXX' AND Updated=True WHERE 1=1");
+ bws.sql.query("UPDATE PlayerNumbers SET Name=NULL AND Updated=True WHERE 1=1");
MessageBox.Show("Wykonano!", "Usuń nazwiska", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ee)