Skip to content

Commit 1efbb0a

Browse files
committed
Mark the mod host-only to avoid handshake issues
1 parent 8ea2717 commit 1efbb0a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

CrowdedMod.HostOnlyKick/CrowdedMod.HostOnlyKick/HostOnlyKickPlugin.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
using BepInEx.Unity.IL2CPP;
33
using HarmonyLib;
44
using Reactor;
5+
using Reactor.Networking;
6+
using Reactor.Networking.Attributes;
57

68
namespace CrowdedMod.HostOnlyKick;
79

810
[BepInAutoPlugin]
911
[BepInProcess("Among Us.exe")]
1012
[BepInDependency(ReactorPlugin.Id)]
13+
[ReactorModFlags(ModFlags.RequireOnHost)]
1114
public partial class HostOnlyKickPlugin : BasePlugin
1215
{
1316
public Harmony Harmony { get; } = new(Id);

0 commit comments

Comments
 (0)