Skip to content

Commit

Permalink
Fixing CDash coroutine.
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic committed Jan 25, 2023
1 parent 9eca01a commit 48e3b37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CharmOverhaul/CharmOverhaul.cs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ private void OnCharmUpdate(On.HeroController.orig_CharmUpdate orig, HeroControll
HeroController.instance.gameObject.transform.Find("SuperDash Damage").gameObject.LocateMyFSM("damages_enemy").GetFsmIntVariable("damageDealt").Value = (PlayerDataAccess.equippedCharm_34 ? 2 : 1) * (13 + (PlayerDataAccess.nailSmithUpgrades * 4));

// Apparently the parent is removed at first, so we wait for it to exist again
GameManager.instance.StartCoroutine("CDash");
GameManager.instance.StartCoroutine(CDash());

// Stalwart Shell & Baldur Shell increase i-frames
self.INVUL_TIME_STAL = PlayerDataAccess.equippedCharm_5 ? 2.05f : 1.75f;
Expand Down
2 changes: 1 addition & 1 deletion CharmOverhaul/CharmOverhaul.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Copyright>Copyright © Exempt-Medic 2022</Copyright>
<Authors>Exempt-Medic</Authors>
<NoWarn>7035</NoWarn>
<AssemblyVersion>1.1.1.*</AssemblyVersion>
<AssemblyVersion>1.1.2.*</AssemblyVersion>
<Deterministic>false</Deterministic>
<OutputPath>bin\$(Configuration)\</OutputPath>
<LangVersion>latest</LangVersion>
Expand Down

0 comments on commit 48e3b37

Please sign in to comment.