Skip to content

Commit 4eebcf6

Browse files
committed
Merge branch 'develop' of https://github.com/NoobDevGame/GameJam2017 into develop
2 parents f91e3de + 5bf9a39 commit 4eebcf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GameJam2017/NoobFight/Screens/OptionsScreen.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ public OptionsScreen(ScreenComponent manager) : base(manager)
3232
HorizontalAlignment = HorizontalAlignment.Stretch;
3333
Controls.Add(mainStack);
3434

35-
var playerTextures = File.ReadAllLines("content/playertextures.txt").ToList();
35+
var playerTextures = manager.Content.ListContent("player");
3636

3737
List<PlayerTexture> playerTex = new List<PlayerTexture>();
3838

39-
foreach(var tex in playerTextures)
39+
foreach(var tex in playerTextures.Select(Path.GetFileNameWithoutExtension))
4040
{
4141
try
4242
{

0 commit comments

Comments
 (0)