Skip to content

Commit c715d6a

Browse files
committed
fix #2611
1 parent 0bdd511 commit c715d6a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Shared/PlasmaShared/GlobalConst.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static void SetMode(ModeType newMode)
4343
switch (newMode) {
4444
case ModeType.Local:
4545
BaseSiteUrl = "http://localhost:9739";
46-
ZkDataContextConnectionString = @"Data Source=(LocalDb)\MSSQLLocalDB;Initial Catalog=zero-k_local;Integrated Security=True;MultipleActiveResultSets=true;Min Pool Size=5;Max Pool Size=2000";
46+
ZkDataContextConnectionString = @"Data Source=BRIEFTOP\SQLEXPRESS;Initial Catalog=zero-k_local;Integrated Security=True;MultipleActiveResultSets=true;Min Pool Size=5;Max Pool Size=2000";
4747

4848
LobbyServerHost = "localhost";
4949
LobbyServerPort = 8200;

ZkLobbyServer/ServerBattle.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,7 @@ private async Task<bool> CreateMultiMapPoll()
938938
poll.PollEnded += MapVoteEnded;
939939
var options = new List<PollOption>();
940940
List<int> pickedMaps = new List<int>();
941+
pickedMaps.Add(HostedMap?.ResourceID ?? 0);
941942
using (var db = new ZkDataContext())
942943
{
943944
for (int i = 0; i < NumberOfMapChoices; i++)

0 commit comments

Comments
 (0)