Vehicle synchronization started (only NPC and Debug)

Not finished yet!
This commit is contained in:
EntenKoeniq
2021-07-10 09:41:17 +02:00
parent 7edb21087c
commit 2be5375a47
9 changed files with 417 additions and 30 deletions

View File

@ -1,4 +1,5 @@
using System.IO;
using System;
using System.IO;
using System.Xml.Serialization;
namespace CoopServer
@ -9,7 +10,7 @@ namespace CoopServer
{
XmlSerializer ser = new(typeof(T));
string path = Directory.GetCurrentDirectory() + "\\" + file;
string path = AppContext.BaseDirectory + "\\" + file;
T settings;
if (File.Exists(path))