diff --git a/modules/tile_map/register_types.cpp b/modules/tile_map/register_types.cpp index 3e6b98f6a..b1bf71f24 100644 --- a/modules/tile_map/register_types.cpp +++ b/modules/tile_map/register_types.cpp @@ -38,6 +38,11 @@ void register_tile_map_types() { ClassDB::register_class(); ClassDB::register_class(); + +#ifndef DISABLE_DEPRECATED + ClassDB::add_compatibility_class("RTileMap", "TileMap"); + ClassDB::add_compatibility_class("RTileSet", "TileSet"); +#endif } void unregister_tile_map_types() {