Merge pull request #73007 from KoBeWi/typos_be_like

Fix error spam when deselecting TileMap
This commit is contained in:
Rémi Verschelde 2023-02-10 15:06:40 +01:00
commit 44d5d4e3cd
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -687,7 +687,7 @@ void TileSetEditor::_undo_redo_inspector_callback(Object *p_undo_redo, Object *p
void TileSetEditor::edit(Ref<TileSet> p_tile_set) {
bool new_read_only_state = false;
if (tile_set.is_valid()) {
if (p_tile_set.is_valid()) {
new_read_only_state = EditorNode::get_singleton()->is_resource_read_only(p_tile_set);
}