From 50bec5ca112d96fffc390a22423e9f3551b878b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=AAOhmcodes=E2=84=A2=E2=9C=AA?= Date: Tue, 16 Apr 2024 09:56:41 -0700 Subject: [PATCH] Update Enshrouded.cs --- Enshrouded.cs/Enshrouded.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Enshrouded.cs/Enshrouded.cs b/Enshrouded.cs/Enshrouded.cs index 895d7e3..631bae3 100644 --- a/Enshrouded.cs/Enshrouded.cs +++ b/Enshrouded.cs/Enshrouded.cs @@ -17,7 +17,7 @@ public class Enshrouded: SteamCMDAgent name = "WindowsGSM.Enshrouded", // WindowsGSM.XXXX author = "ohmcodes", description = "WindowsGSM plugin for supporting Enshrouded Dedicated Server", - version = "1.0.2", + version = "1.0.3", url = "https://github.com/ohmcodes/WindowsGSM.Enshrouded", // Github repository link (Best practice) color = "#34c9eb" // Color Hex }; @@ -63,9 +63,9 @@ public async void CreateServerCFG() saveDirectory = "./savegame", logDirectory = "./logs", ip = $"{_serverData.ServerIP}", - gamePort = _serverData.ServerPort, - queryPort = _serverData.ServerQueryPort, - slotCount = _serverData.ServerMaxPlayer + gamePort = Int32.Parse(_serverData.ServerPort), + queryPort = Int32.Parse(_serverData.ServerQueryPort), + slotCount = Int32.Parse(_serverData.ServerMaxPlayer) }; // Convert the object to JSON format