diff --git a/ZoFo/GameCore/GameManagers/SoundManager.cs b/ZoFo/GameCore/GameManagers/SoundManager.cs index b4c4263..5f39e97 100644 --- a/ZoFo/GameCore/GameManagers/SoundManager.cs +++ b/ZoFo/GameCore/GameManagers/SoundManager.cs @@ -20,7 +20,7 @@ namespace ZoFo.GameCore.GameManagers public void LoadSounds() // метод для загрузки звуков из папки { - var k = Directory.GetFiles("../../../Content/sounds").Where(x => x.EndsWith("wav")); + var k = Directory.GetFiles("Content/sounds").Where(x => x.EndsWith("wav")); if (k.Count() > 0) { diff --git a/ZoFo/GameCore/Graphics/AnimationBuilder.cs b/ZoFo/GameCore/Graphics/AnimationBuilder.cs index 04b2cbf..a7f6214 100644 --- a/ZoFo/GameCore/Graphics/AnimationBuilder.cs +++ b/ZoFo/GameCore/Graphics/AnimationBuilder.cs @@ -13,7 +13,7 @@ namespace DangerousD.GameCore.Graphics public void LoadAnimations() { Animations = new List(); - string[] animationFilesNames = Directory.GetFiles("../../../Content/Textures/Animations"); + string[] animationFilesNames = Directory.GetFiles("Content/Textures/Animations"); StreamReader reader; foreach (var fileName in animationFilesNames)