From 66ab577eb843243466925cbe59b9fc18ed2c5921 Mon Sep 17 00:00:00 2001 From: muiroc Date: Tue, 21 Apr 2020 22:04:12 +0200 Subject: [PATCH] Register the DisplayServer Singleton --- servers/register_server_types.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/register_server_types.cpp b/servers/register_server_types.cpp index 65947fa1b7f..60217002fbf 100644 --- a/servers/register_server_types.cpp +++ b/servers/register_server_types.cpp @@ -216,6 +216,7 @@ void unregister_server_types() { void register_server_singletons() { + Engine::get_singleton()->add_singleton(Engine::Singleton("DisplayServer", DisplayServer::get_singleton())); Engine::get_singleton()->add_singleton(Engine::Singleton("RenderingServer", RenderingServer::get_singleton())); Engine::get_singleton()->add_singleton(Engine::Singleton("AudioServer", AudioServer::get_singleton())); Engine::get_singleton()->add_singleton(Engine::Singleton("PhysicsServer2D", PhysicsServer2D::get_singleton()));