diff --git a/Source/Mods/VanillaFurnitureExpandedSecurity.cs b/Source/Mods/VanillaFurnitureExpandedSecurity.cs index efb9eff..81b7889 100644 --- a/Source/Mods/VanillaFurnitureExpandedSecurity.cs +++ b/Source/Mods/VanillaFurnitureExpandedSecurity.cs @@ -52,10 +52,8 @@ private static void LatePatch() propsSubmergeSeconds = AccessTools.FieldRefAccess(propsType, "submergeSeconds"); propsDeploySeconds = AccessTools.FieldRefAccess(propsType, "deploySeconds"); - // Sync StartTransition directly. The gizmo actions call it as an - // instance method on CompConcealed (a ThingComp), which the MP - // framework can serialize. No need to sync the lambdas themselves. - MP.RegisterSyncMethod(type, "StartTransition"); + // Sync the Deploy/Submerge gizmos in CompGetGizmosExtra + MpCompat.RegisterLambdaMethod(type, "CompGetGizmosExtra", 3, 4); // StartTransition iterates Find.Selector.SelectedObjects which won't // contain the right objects on the remote client. In MP we replace it