Skip to content

Commit

Permalink
1.15.1 (#714)
Browse files Browse the repository at this point in the history
## Bug fixes
- Fix blackholes not being properly initialized when using conditional
object activation.
  • Loading branch information
xen-42 committed Aug 26, 2023
2 parents c1b1ced + 8dabc79 commit 064eefe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions NewHorizons/Components/Props/ConditionalObjectActivation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ public static void SetUp(GameObject go, string condition, bool closeEyes, bool s
}

public void Start()
{
// We delay else some props don't get properly initialized before being disappeared
Delay.FireOnNextUpdate(LateStart);
}

private void LateStart()
{
var currentConditionState = DialogueConditionManager.SharedInstance.GetConditionState(DialogueCondition);

Expand Down
2 changes: 1 addition & 1 deletion NewHorizons/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "xen, Bwc9876, clay, MegaPiggy, John, Trifid, Hawkbar, Book",
"name": "New Horizons",
"uniqueName": "xen.NewHorizons",
"version": "1.15.0",
"version": "1.15.1",
"owmlVersion": "2.9.3",
"dependencies": [ "JohnCorby.VanillaFix", "_nebula.MenuFramework", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ],
"conflicts": [ "Raicuparta.QuantumSpaceBuddies", "PacificEngine.OW_CommonResources" ],
Expand Down

0 comments on commit 064eefe

Please sign in to comment.