From 64fed1c6c43938b8501cf664e6989600eaea45ff Mon Sep 17 00:00:00 2001
From: Li
Date: Mon, 25 Jul 2022 14:36:13 +1200
Subject: [PATCH] Update thingy
---
HorseIsleServer/MPN00BS/MPN00BS.csproj | 2 +-
HorseIsleServer/MPN00BS/ServerStarter.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/HorseIsleServer/MPN00BS/MPN00BS.csproj b/HorseIsleServer/MPN00BS/MPN00BS.csproj
index 1b9e5f0..4179117 100644
--- a/HorseIsleServer/MPN00BS/MPN00BS.csproj
+++ b/HorseIsleServer/MPN00BS/MPN00BS.csproj
@@ -228,7 +228,7 @@
-
+
PreserveNewest
diff --git a/HorseIsleServer/MPN00BS/ServerStarter.cs b/HorseIsleServer/MPN00BS/ServerStarter.cs
index 5e14a94..14ab970 100644
--- a/HorseIsleServer/MPN00BS/ServerStarter.cs
+++ b/HorseIsleServer/MPN00BS/ServerStarter.cs
@@ -56,7 +56,7 @@ namespace MPN00BS
HorseIsleClientExitCallback = callback;
clientProcess = new Process();
- clientProcess.StartInfo.FileName = Path.Combine("flashplayer", "WINDOWS", "flash.exe");
+ clientProcess.StartInfo.FileName = Path.Combine(Directory.GetCurrentDirectory(), "flashplayer", "WINDOWS", "flash.exe");
clientProcess.StartInfo.Arguments = "http://127.0.0.1/horseisle.swf?SERVER=" + serverIp + "&PORT=" + serverPort.ToString();
clientProcess.StartInfo.RedirectStandardOutput = true;