This commit is contained in:
D1GQ committed 2024-07-27 23:26:00 -05:00
1 parent 0e73a8a200
commit 1fa503c2ad
1 file changed
+4 -1
+4 -1
View File
@@ -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]