summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-11-18 01:47:41 +0100
committeremkael <emkael@tlen.pl>2018-11-18 01:47:41 +0100
commitac5fdb3b54077f1f42fdbc76ed05916c18dbf8f7 (patch)
tree18b0b188639986265527611a3507bdd9c00f1412
parent067227bbe0e8ca34fff7cf4ddac72175f94ec8b9 (diff)
Setting movement to single-winner (to avoid entering direction in game summary screen and to optimize shit)
-rw-r--r--Aktywator/Bws.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 79e5121..dfbbe23 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -389,6 +389,15 @@ namespace Aktywator
try
{
+ sql.query("ALTER TABLE `Section` ADD COLUMN `Winners` integer;");
+ }
+ catch (OleDbException)
+ {
+ }
+ sql.query("UPDATE `Section` SET Winners = 1");
+
+ try
+ {
sql.query("CREATE TABLE PlayerNames (ID integer, Name text(18));");
}
catch (OleDbException)