summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--servers/register_server_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/register_server_types.cpp b/servers/register_server_types.cpp
index d35b6e1e5f..3634a03dbc 100644
--- a/servers/register_server_types.cpp
+++ b/servers/register_server_types.cpp
@@ -55,7 +55,7 @@ void register_server_types() {
ObjectTypeDB::register_virtual_type<Physics2DDirectBodyState>();
ObjectTypeDB::register_virtual_type<Physics2DDirectSpaceState>();
ObjectTypeDB::register_virtual_type<Physics2DShapeQueryResult>();
- ObjectTypeDB::register_virtual_type<Physics2DTestMotionResult>();
+ ObjectTypeDB::register_type<Physics2DTestMotionResult>();
ObjectTypeDB::register_type<Physics2DShapeQueryParameters>();
ObjectTypeDB::register_type<PhysicsShapeQueryParameters>();