Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Source/Mods/VanillaFurnitureExpandedSecurity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,8 @@ private static void LatePatch()
propsSubmergeSeconds = AccessTools.FieldRefAccess<int>(propsType, "submergeSeconds");
propsDeploySeconds = AccessTools.FieldRefAccess<int>(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
Expand Down