From 950453f9eba97fb3842dff995ec85f34ee361fe5 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 7 Feb 2022 00:25:51 +0100 Subject: [PATCH] Fix typo. --- world/voxel_world.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/voxel_world.cpp b/world/voxel_world.cpp index 15b2d7f..8668709 100644 --- a/world/voxel_world.cpp +++ b/world/voxel_world.cpp @@ -1276,7 +1276,7 @@ void VoxelWorld::_bind_methods() { ClassDB::bind_method(D_METHOD("get_or_create_chunk_at_world_position", "world_position"), &VoxelWorld::get_or_create_chunk_at_world_position); #if VERSION_MAJOR < 4 - BIND_VMETHOD(MethodInfo(PropertyInfo(Variant::INT, "ret", "_get_channel_index_info", PropertyInfo(Variant::INT, "channel_type", PROPERTY_HINT_ENUM, BINDING_STRING_CHANNEL_TYPE_INFO))); + BIND_VMETHOD(MethodInfo(PropertyInfo(Variant::INT, "ret"), "_get_channel_index_info", PropertyInfo(Variant::INT, "channel_type", PROPERTY_HINT_ENUM, BINDING_STRING_CHANNEL_TYPE_INFO))); #else GDVIRTUAL_BIND(_get_channel_index_info, "channel_type", "ret"); #endif