TechbloxModdingAPI/GamecraftModdingAPI/Persistence/SaveAndLoadCompositionRootPatch.cs
2020-05-15 17:42:04 -04:00

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);
}
}
}