csproj/sln: turn it into a compilable project

This commit is contained in:
StalkR
2023-12-27 23:35:32 +01:00
parent de665f57d0
commit c606ca5ad0
4 changed files with 124 additions and 9 deletions

View File

@@ -1,12 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Diagnostics;
using System.Reflection;
using System.Text;
using VRage.Plugins;
using System.Threading.Tasks;
using ClientPlugin;
using Sandbox.Engine.Multiplayer;
using Sandbox.Engine.Networking;
using Sandbox.Game;
@@ -36,7 +30,8 @@ namespace TimeoutFixPlugin
public void Init(object gameInstance)
{
MethodUtil.ReplaceMethod(_patch, _target);
// source for MethodUtil not given on the reddit post
//MethodUtil.ReplaceMethod(_patch, _target);
}
public void Update()
@@ -124,7 +119,7 @@ namespace TimeoutFixPlugin
}
};
multiplayer.DownloadWorld();
multiplayer.DownloadWorld(0);
}
}
}