Skip to content

Commit

Permalink
Выпилил остановку игрового процесса на время воспроизведения музыки п…
Browse files Browse the repository at this point in the history
…обеды
  • Loading branch information
Newbilius committed Dec 5, 2018
1 parent b15f36e commit b0f6d83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions Assets/Scripts/GameManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,8 @@ private IEnumerator AfterBallMovedToNewPosition(Queue<GameObject> stepImages, Ba
&& Score > EnemyScore
&& oldScore <= EnemyScore)
{
GameState = GameState.Animation;
AudioManager.Instance.PlayWinMusicIfCan(() =>
{
GameState = GameState.Gameplay;
});
GameState = GameState.Gameplay;
AudioManager.Instance.PlayWinMusicIfCan(() => { });
}
}

Expand Down
4 changes: 2 additions & 2 deletions ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 1.0
bundleVersion: 1.1
preloadedAssets:
- {fileID: 8300000, guid: 08d489ad9063b2d44b60b3440aec77de, type: 3}
- {fileID: 8300000, guid: 59d5901a357c1b049b030cd776b46874, type: 3}
Expand Down Expand Up @@ -160,7 +160,7 @@ PlayerSettings:
Standalone: com.newbilius.lines
buildNumber:
Standalone: 1
AndroidBundleVersionCode: 4
AndroidBundleVersionCode: 5
AndroidMinSdkVersion: 16
AndroidTargetSdkVersion: 0
AndroidPreferredInstallLocation: 1
Expand Down

0 comments on commit b0f6d83

Please sign in to comment.