summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorMarc Gilleron <marc.gilleron@gmail.com>2022-10-24 22:07:02 +0100
committerMarc Gilleron <marc.gilleron@gmail.com>2022-10-24 22:07:02 +0100
commit7543a5e01451979b5ec72e95e34beb53f6440267 (patch)
tree5f836ccb52745d9e753ec69444e635c8b9642845 /scene/2d
parent040f49ed6e71a6e7f23d763c4b56095cbf319ef7 (diff)
Rename queue_delete => queue_free
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/tile_map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp
index e865806a7f..4276527884 100644
--- a/scene/2d/tile_map.cpp
+++ b/scene/2d/tile_map.cpp
@@ -1863,7 +1863,7 @@ void TileMap::_scenes_update_dirty_quadrants(SelfList<TileMapQuadrant>::List &r_
for (const KeyValue<Vector2i, String> &E : q.scenes) {
Node *node = get_node_or_null(E.value);
if (node) {
- node->queue_delete();
+ node->queue_free();
}
}
@@ -1911,7 +1911,7 @@ void TileMap::_scenes_cleanup_quadrant(TileMapQuadrant *p_quadrant) {
for (const KeyValue<Vector2i, String> &E : p_quadrant->scenes) {
Node *node = get_node_or_null(E.value);
if (node) {
- node->queue_delete();
+ node->queue_free();
}
}