feat(expansions): Adds expansion.json and loads expansions dynamically (#798)
Moves hardcoded expansion settings to the file Data\expansion.json.
This commit is contained in:
parent
a0c3158675
commit
2f5b26ae68
8 changed files with 1084 additions and 99 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Server.Tests
|
||||
{
|
||||
|
|
@ -7,8 +8,8 @@ namespace Server.Tests
|
|||
// Global setup
|
||||
static ServerFixture()
|
||||
{
|
||||
Core.Assembly = Assembly.GetExecutingAssembly();
|
||||
Core.LoopContext = new EventLoopContext();
|
||||
|
||||
Core.Expansion = Expansion.EJ;
|
||||
|
||||
// Load Configurations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue