Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions MCI/InstanceControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ internal static IEnumerator _CreatePlayerInstanceEnumerator()
sampleC.Character.MyPhysics.ResetMoveState();

if (SubmergedCompatibility.Loaded)
{
SubmergedCompatibility.ImpartSub(sampleC.Character);
sampleC.Character.isDummy = true;
}

if (IL2CPPChainloader.Instance.Plugins.ContainsKey("me.eisbison.theotherroles"))
sampleC.Character.GetComponent<DummyBehaviour>().enabled = true;
Expand Down
1 change: 1 addition & 0 deletions MCI/Patches/OnGameStart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public static void Prefix(AmongUsClient __instance)
foreach (var p in __instance.allClients)
{
p.IsReady = true;
p.Character.isDummy = false;
p.Character.gameObject.GetComponent<DummyBehaviour>().enabled = false;
}
}
Expand Down
Loading