Text in credits screen was not removed on close
This commit is contained in:
1 parent
c058ce5911
commit
e65675f323
1 file changed
+9
@@ -293,6 +293,15 @@ namespace Vocaluxe.Screens
|
|||||||
LogoTimer.Start();
|
LogoTimer.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void OnClose()
|
||||||
|
{
|
||||||
|
base.OnClose();
|
||||||
|
|
||||||
|
foreach (CText text in paragraphTexts)
|
||||||
|
text.UnloadTextures();
|
||||||
|
paragraphTexts.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
public override bool Draw()
|
public override bool Draw()
|
||||||
{
|
{
|
||||||
base.Draw();
|
base.Draw();
|
||||||
|
|||||||
Reference in new issue
Block a user