From 3281eed3ffca3b4488335846430b231001aea753 Mon Sep 17 00:00:00 2001 From: aldrikboy Date: Sat, 23 Dec 2017 21:33:50 +0100 Subject: dabbing makes me want to kms --- Penguloon/Controls/IngameOptions.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Penguloon/Controls/IngameOptions.cs') diff --git a/Penguloon/Controls/IngameOptions.cs b/Penguloon/Controls/IngameOptions.cs index a7f1f00..d6eda02 100644 --- a/Penguloon/Controls/IngameOptions.cs +++ b/Penguloon/Controls/IngameOptions.cs @@ -25,12 +25,13 @@ namespace Penguloon.Controls public IngameOptions(SceneBase parentScene, Vector2 position, Vector2 size) : base(parentScene, position, size) { + this.DrawText = false; this.BackgroundIdle = ContentManager.GetTexture("UI/optionsMenuBackground"); this.BackgroundPressed = ContentManager.GetTexture("UI/optionsMenuBackground"); this.BackgroundDisabled = ContentManager.GetTexture("UI/optionsMenuBackground"); Vector2 BtnSize = new Vector2(Size.X - 90, StaticUIValues.IngameUIPlayButtonHeight); - Vector2 MsgBoxSize = new Vector2(900, 300); + Vector2 MsgBoxSize = new Vector2(900, 450); BtnContinue = new Button(parentScene, new Vector2(position.X + (Size.X / 2) - (BtnSize.X / 2), Position.Y + 50), @@ -54,6 +55,9 @@ namespace Penguloon.Controls private void QuitConfirmationBox_OnYes(object sender, EventArgs e) { + GameScene gameScene = (GameScene)ParentScene; + gameScene.Level.FinishGame(); + SceneManager.SelectedScene = SelectedScene.Menu; } -- cgit v1.2.3-70-g09d2