Skip to content

Commit

Permalink
Removed old bird fix for v64
Browse files Browse the repository at this point in the history
  • Loading branch information
1A3Dev committed Sep 15, 2024
1 parent 1e224a6 commit 0f403c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/Patches/Enemies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static void MaskedEnemy_DoAIInterval(MaskedPlayerEnemy __instance)

public static void RadMech_FixThreatTransform(RadMechAI __instance)
{
if (!__instance.focusedThreatTransform && __instance.currentBehaviourStateIndex == 1)
if (!__instance.focusedThreatTransform && __instance.currentBehaviourStateIndex == 1 && GameNetworkManager.Instance.gameVersionNum < 64)
{
GameObject emptObject = GameObject.Find("RadMechTarget") ?? new GameObject("RadMechTarget");
emptObject.transform.position = new Vector3(0f, -5000f, 0f);
Expand Down
4 changes: 2 additions & 2 deletions source/Patches/UI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public static void MenuManager_Awake(MenuManager __instance)
if (Steamworks.SteamApps.CurrentBetaName == "public_beta")
{
string expectedVersion = null;
if (Steamworks.SteamApps.BuildId <= 14953330)
if (Steamworks.SteamApps.BuildId <= 15598010)
{
expectedVersion = "56";
expectedVersion = "64";
}

if (expectedVersion != null)
Expand Down

0 comments on commit 0f403c0

Please # to comment.