menu: eliminate dead code

The deleted lines were dead code that didn't make any sense (even if it
were not dead, it should have recreated the parent of the hidden menu
rather than the hidden menu itself).
This commit is contained in:
tokyo4j 2024-11-14 08:30:55 +09:00
parent e1518f8a12
commit 4abeded75b

View file

@ -918,9 +918,6 @@ menu_hide_submenu(struct server *server, const char *id)
} }
} }
} }
if (hide_menu->scene_tree) {
menu_update_scene(hide_menu);
}
} }
static void static void