fix nuget package version for scriptcommands

fix only one server being added during setup
This commit is contained in:
RaidMax 2020-01-26 14:08:53 -06:00
parent e6bdcc9012
commit 451072276d
3 changed files with 3 additions and 3 deletions

View File

@ -293,7 +293,7 @@ namespace IW4MAdmin.Application
serverConfig.AddEventParser(parser); serverConfig.AddEventParser(parser);
} }
newConfig.Servers[0] = (ServerConfiguration)serverConfig.Generate(); newConfig.Servers = newConfig.Servers.Append((ServerConfiguration)serverConfig.Generate()).ToArray();
} while (Utilities.PromptBool(Utilities.CurrentLocalization.LocalizationIndex["SETUP_SERVER_SAVE"])); } while (Utilities.PromptBool(Utilities.CurrentLocalization.LocalizationIndex["SETUP_SERVER_SAVE"]));
config = newConfig; config = newConfig;

View File

@ -23,7 +23,7 @@ namespace WebfrontCore.Controllers.API
public IActionResult ClientInfo(string networkId) public IActionResult ClientInfo(string networkId)
{ {
var clientInfo = Manager.GetActiveClients() var clientInfo = Manager.GetActiveClients()
.FirstOrDefault(c => c.NetworkId == networkId.ConvertGuidToLong()); .FirstOrDefault(c => c.NetworkId == networkId.ConvertGuidToLong(System.Globalization.NumberStyles.HexNumber));
if (clientInfo != null) if (clientInfo != null)
{ {

View File

@ -10,7 +10,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="RaidMax.IW4MAdmin.SharedLibraryCore" Version="2.2.4" PrivateAssets="All" /> <PackageReference Include="RaidMax.IW4MAdmin.SharedLibraryCore" Version="2.2.5" PrivateAssets="All" />
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> <Target Name="PostBuild" AfterTargets="PostBuildEvent">