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 committed by Johan Malm
parent 10ee838c3b
commit b96742a039

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