diff --git a/GameJam2017/NoobFight/Screens/OptionsScreen.cs b/GameJam2017/NoobFight/Screens/OptionsScreen.cs index 70a6a15..6d20f72 100644 --- a/GameJam2017/NoobFight/Screens/OptionsScreen.cs +++ b/GameJam2017/NoobFight/Screens/OptionsScreen.cs @@ -32,11 +32,11 @@ public OptionsScreen(ScreenComponent manager) : base(manager) HorizontalAlignment = HorizontalAlignment.Stretch; Controls.Add(mainStack); - var playerTextures = File.ReadAllLines("content/playertextures.txt").ToList(); + var playerTextures = manager.Content.ListContent("player"); List playerTex = new List(); - foreach(var tex in playerTextures) + foreach(var tex in playerTextures.Select(Path.GetFileNameWithoutExtension)) { try {