diff --git a/Raylib-cs/types/Window.cs b/Raylib-cs/types/Window.cs index cdaaf9b..5191e0a 100644 --- a/Raylib-cs/types/Window.cs +++ b/Raylib-cs/types/Window.cs @@ -16,7 +16,8 @@ public class Window : IDisposable /// /// Initializes the object if it is not ready. /// - public static Window Instance(int width, int height, string title) { + public static Window Instance(int width, int height, string title) + { return _instance ?? new Window(width, height, title); }