Added RTileMap and RTileSet compatibility classes.

This commit is contained in:
Relintai 2022-10-09 11:52:25 +02:00
parent 5123cf9837
commit 0de5f4ec86

View File

@ -38,6 +38,11 @@ void register_tile_map_types() {
ClassDB::register_class<TileMap>();
ClassDB::register_class<TileSet>();
#ifndef DISABLE_DEPRECATED
ClassDB::add_compatibility_class("RTileMap", "TileMap");
ClassDB::add_compatibility_class("RTileSet", "TileSet");
#endif
}
void unregister_tile_map_types() {