Skip to content

Commit

Permalink
Fix two boss music playing twice if restarted by Hollow Soul
Browse files Browse the repository at this point in the history
  • Loading branch information
kiooeht committed Nov 26, 2018
1 parent ddadbcb commit a11668d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.megacrit.cardcrawl.actions.common.GainEnergyAndEnableControlsAction;
import com.megacrit.cardcrawl.actions.common.RelicAboveCreatureAction;
import com.megacrit.cardcrawl.blights.Muzzle;
import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.megacrit.cardcrawl.dungeons.AbstractDungeon;
import com.megacrit.cardcrawl.helpers.ImageMaster;
import com.megacrit.cardcrawl.helpers.MonsterHelper;
Expand Down Expand Up @@ -114,6 +115,9 @@ private void restartCombat()
AbstractRoom room = AbstractDungeon.getCurrRoom();

// Clear
CardCrawlGame.music.silenceTempBgmInstantly();
CardCrawlGame.music.silenceBGMInstantly();

AbstractDungeon.fadeIn();
AbstractDungeon.player.resetControllerValues();
AbstractDungeon.effectList.clear();
Expand Down

0 comments on commit a11668d

Please sign in to comment.