From 4aaed4fee1d8c7a07045250d27de3de8c6f6ae39 Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 18 Oct 2022 16:44:57 +0200 Subject: Minor code improvements --- scene/2d/tile_map.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scene/2d') diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp index 26627a4fca..219a3a76ba 100644 --- a/scene/2d/tile_map.cpp +++ b/scene/2d/tile_map.cpp @@ -3976,9 +3976,5 @@ TileMap::TileMap() { } TileMap::~TileMap() { - if (tile_set.is_valid()) { - tile_set->disconnect("changed", callable_mp(this, &TileMap::_tile_set_changed)); - } - _clear_internals(); } -- cgit v1.2.3