diff --git a/Shared/SneakGame.cs b/Shared/SneakGame.cs index fe6edd0..ff9858c 100644 --- a/Shared/SneakGame.cs +++ b/Shared/SneakGame.cs @@ -67,6 +67,7 @@ namespace SemiColinGames { // world = new SneakWorld(GraphicsDevice, Content.LoadString("levels/demo.json")); // world = new TreeWorld(); world = new ShmupWorld(); + scene?.Dispose(); // scene = new SneakScene(GraphicsDevice, ((SneakWorld) world).Camera); // scene = new TreeScene(GraphicsDevice);