Skip to content

Commit

Permalink
Pokazywanie chevrona tylko na ekranie poziomu
Browse files Browse the repository at this point in the history
  • Loading branch information
ktos committed Jan 30, 2022
1 parent db6041c commit 9332bdc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Rex2/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,11 @@ public static void Main()

levelManager.Current.DrawMain();

// dorysuj chevron na dole
DrawTexturePro(chevron, chevroSrc, chevroDest, new Vector2(0, 0), 0, WHITE);
if (levelManager.Current.GetType() == typeof(Level))
{
// dorysuj chevron na dole
DrawTexturePro(chevron, chevroSrc, chevroDest, new Vector2(0, 0), 0, WHITE);
}

AudioManager.Instance.UpdateMusicStream();

Expand Down

0 comments on commit 9332bdc

Please sign in to comment.