From f93e133ede2a76be1aa20a33c9fcf01308cd6df8 Mon Sep 17 00:00:00 2001 From: aldrikboy Date: Fri, 12 Jan 2018 13:32:26 +0100 Subject: dab --- Penguloon/Main.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Penguloon/Main.cs') diff --git a/Penguloon/Main.cs b/Penguloon/Main.cs index d9d8003..703f900 100644 --- a/Penguloon/Main.cs +++ b/Penguloon/Main.cs @@ -38,9 +38,13 @@ namespace Penguloon public Context Context { get; set; } - public Main(Resources resources, Context context) + public Context Activity_ { get; set; } + + public Main(Resources resources, Activity context) { - Context = context; + Context = context.ApplicationContext; + Activity_ = context; + Resources = resources; Graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; -- cgit v1.2.3-70-g09d2