Fixes Server not setting Logger

This commit is contained in:
Cyberboss
2017-11-13 11:07:37 -05:00
parent 06dc7105d6
commit d4e157c7d2
+2
View File
@@ -89,6 +89,8 @@ namespace TGS.Server
/// <param name="logger">The <see cref="ILogger"/> to use</param>
public Server(string[] args, ILogger logger)
{
Logger = logger;
Environment.CurrentDirectory = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), Assembly.GetExecutingAssembly().GetName().Name)).FullName; //MOVE THIS POINTER BECAUSE ONE TIME I ALMOST ACCIDENTALLY NUKED MYSELF BY REFACTORING! http://imgur.com/zvGEpJD.png
SetupConfig();