Skip to content

Commit

Permalink
Merge pull request #237 from Falki-git/main
Browse files Browse the repository at this point in the history
Fix OAB AppBar for 0.1.3.0
  • Loading branch information
cheese3660 authored Jun 27, 2023
2 parents ef41555 + 6e32de3 commit 957ad03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpaceWarp/Backend/UI/Appbar/AppbarBackend.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public static void AddOABButton(string buttonText, Sprite buttonIcon, string but

// Find the resource manager button.
var list = GameObject.Find(
"GameManager/Default Game Instance(Clone)/UI Manager(Clone)/Popup Canvas/Container/ButtonBar/BTN-App-Tray/appbar-others-group");
"GameManager/Default Game Instance(Clone)/UI Manager(Clone)/Scaled Popup Canvas/Container/ButtonBar/BTN-App-Tray/appbar-others-group");
var resourceManger = list != null ? list.GetChild("BTN-Resource-Manager") : null;

if (resourceManger == null)
Expand Down Expand Up @@ -327,4 +327,4 @@ public static void Postfix()
{
SubscriberSchedulePing(AppbarEvent.OAB);
}
}
}

0 comments on commit 957ad03

Please sign in to comment.