Update TestGame.

This commit is contained in:
2024-08-22 21:48:50 +02:00
parent 03e7a4a90c
commit 912de8a5ef

View File

@@ -1,5 +1,4 @@
using Voile;
using Voile.Rendering;
using Voile.Audio;
using Voile.Resources;
using Voile.SceneGraph;
@@ -63,7 +62,7 @@ public class TestGame : Game
protected override void Run()
{
while (_scene.ShouldRun)
while (_scene!.ShouldRun)
{
_scene.Update();
_scene.BeginDraw();