diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-12-15 11:40:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 11:40:52 +0100 |
commit | f9c05333efef8705cdd98add6d0351cae5efff34 (patch) | |
tree | af988148c5b258ef8bb05cf73dfa8d3e130c5d02 | |
parent | 681d00bd91cb9559e0b5bdebdc79e178d96ca2e3 (diff) | |
parent | 44b35c375986d4e3b72af045828f6d915cccbf20 (diff) |
Merge pull request #55657 from MorganKF/patch-multiplayer-peer-extension
Patch `MultiplayerPeerExtension` to allow derived classes
-rw-r--r-- | core/register_core_types.cpp | 2 |
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); |