mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
null fix
This commit is contained in:
1 parent
0e73a8a200
commit
1fa503c2ad
1 file changed
+4
-1
@@ -14,7 +14,10 @@ public class MiniMapBehaviourPatch
|
||||
public static void Awake_Postfix(MapBehaviour __instance)
|
||||
{
|
||||
PoolablePlayer NewDisplay = __instance.HerePoint.gameObject.AddComponent<PoolablePlayer>();
|
||||
NewDisplay.SetBodyCosmeticsVisible(true);
|
||||
if (NewDisplay != null)
|
||||
{
|
||||
NewDisplay.SetBodyCosmeticsVisible(true);
|
||||
}
|
||||
}
|
||||
[HarmonyPatch(nameof(MapBehaviour.Show))]
|
||||
[HarmonyPrefix]
|
||||
|
||||
Reference in new issue
Block a user