Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/NoobDevGame/GameJam2017
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
susch19 committed Jan 8, 2017
2 parents f91e3de + 5bf9a39 commit 4eebcf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GameJam2017/NoobFight/Screens/OptionsScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PlayerTexture> playerTex = new List<PlayerTexture>();

foreach(var tex in playerTextures)
foreach(var tex in playerTextures.Select(Path.GetFileNameWithoutExtension))
{
try
{
Expand Down

0 comments on commit 4eebcf6

Please sign in to comment.