From 9332bdc5e2b4ec980510ec8cc3bee1cc59edcda0 Mon Sep 17 00:00:00 2001 From: Marcin Badurowicz Date: Sun, 30 Jan 2022 15:35:37 +0100 Subject: [PATCH] Pokazywanie chevrona tylko na ekranie poziomu --- Rex2/Program.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Rex2/Program.cs b/Rex2/Program.cs index c43146e..05fcc7b 100644 --- a/Rex2/Program.cs +++ b/Rex2/Program.cs @@ -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();