summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-12-15 11:40:52 +0100
committerGitHub <noreply@github.com>2021-12-15 11:40:52 +0100
commitf9c05333efef8705cdd98add6d0351cae5efff34 (patch)
treeaf988148c5b258ef8bb05cf73dfa8d3e130c5d02
parent681d00bd91cb9559e0b5bdebdc79e178d96ca2e3 (diff)
parent44b35c375986d4e3b72af045828f6d915cccbf20 (diff)
Merge pull request #55657 from MorganKF/patch-multiplayer-peer-extension
Patch `MultiplayerPeerExtension` to allow derived classes
-rw-r--r--core/register_core_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_core_types.cpp b/core/register_core_types.cpp
index e33c21cc00..5479041b29 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);