mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 04:35:52 +12:00
Move mod loading to server entry point
This commit is contained in:
parent
518018e54e
commit
412430ec76
3 changed files with 11 additions and 6 deletions
|
@ -7,7 +7,8 @@ using HISP.Game.Chat;
|
|||
using HISP.Security;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
using HISP.Modding;
|
||||
|
||||
namespace HISP.Server
|
||||
{
|
||||
public static class Entry
|
||||
|
@ -27,10 +28,12 @@ namespace HISP.Server
|
|||
}
|
||||
|
||||
public static void Start()
|
||||
{
|
||||
#if (!DEBUG)
|
||||
{
|
||||
#if (!DEBUG)
|
||||
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
ModLoader.ReloadModsFromFilesystem();
|
||||
|
||||
Console.Title = ServerVersion.GetBuildString();
|
||||
ConfigReader.OpenConfig();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue