From 44b35c375986d4e3b72af045828f6d915cccbf20 Mon Sep 17 00:00:00 2001 From: MorganKF Date: Sat, 11 Dec 2021 11:04:36 -0330 Subject: [PATCH] Update MultiplayerPeerExtension class registration to non-virtual Fix formatting --- core/register_core_types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/register_core_types.cpp b/core/register_core_types.cpp index e33c21cc00a..5479041b297 100644 --- a/core/register_core_types.cpp +++ b/core/register_core_types.cpp @@ -199,7 +199,7 @@ void register_core_types() { ResourceLoader::add_resource_format_loader(resource_format_loader_crypto); GDREGISTER_VIRTUAL_CLASS(MultiplayerPeer); - GDREGISTER_VIRTUAL_CLASS(MultiplayerPeerExtension); + GDREGISTER_CLASS(MultiplayerPeerExtension); GDREGISTER_VIRTUAL_CLASS(MultiplayerReplicator); GDREGISTER_CLASS(MultiplayerAPI); GDREGISTER_CLASS(MainLoop);