18 lines
365 B
C#
18 lines
365 B
C#
using System;
|
|
|
|
using RobocraftX.SaveAndLoad;
|
|
using Svelto.ECS;
|
|
|
|
using HarmonyLib;
|
|
|
|
namespace GamecraftModdingAPI.Persistence
|
|
{
|
|
[HarmonyPatch(typeof(SaveAndLoadCompositionRoot), "Compose")]
|
|
class SaveAndLoadCompositionRootPatch
|
|
{
|
|
public static void Prefix(EnginesRoot enginesRoot)
|
|
{
|
|
SerializerManager.RegisterSerializers(enginesRoot);
|
|
}
|
|
}
|
|
}
|