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