diff --git a/src/MultiplayerMod/Multiplayer/Chores/Synchronizers/PeeChoreSynchronizer.cs b/src/MultiplayerMod/Multiplayer/Chores/Synchronizers/PeeChoreSynchronizer.cs new file mode 100644 index 00000000..b521f5a8 --- /dev/null +++ b/src/MultiplayerMod/Multiplayer/Chores/Synchronizers/PeeChoreSynchronizer.cs @@ -0,0 +1,18 @@ +using JetBrains.Annotations; +using MultiplayerMod.Core.Dependency; +using MultiplayerMod.Multiplayer.StateMachines.Configuration; +using MultiplayerMod.Multiplayer.StateMachines.Configuration.Configurers; +using MultiplayerMod.Network; + +namespace MultiplayerMod.Multiplayer.Chores.Synchronizers; + +[Dependency, UsedImplicitly] +public class PeeChoreSynchronizer : ChoreSynchronizer { + + protected override void Configure(IStateMachineRootConfigurer root) { + root.Inline(new StateMachineConfigurerDsl(monitor => { + monitor.PreConfigure(MultiplayerMode.Client, pre => pre.Suppress(() => pre.StateMachine.pee.ToggleChore(null, null))); + })); + } + +}