diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/AndroidStationScreen.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/AndroidStationScreen.kt index 8fb9b3e44..95b9409d3 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/AndroidStationScreen.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/AndroidStationScreen.kt @@ -573,6 +573,12 @@ class AndroidStationScreen constructor(p_97741_: AndroidStationMenu, p_97742_: I var hoveredResearch: AndroidResearch? = null private fun openResearchTree() { + if (research?.isRemoved == false) { + research!!.toScreenCenter() + popup(research!!) + return + } + val window = minecraft!!.window research = FramePanel(this, null, 0f, 0f, window.guiScaledWidth * 0.8f, window.guiScaledHeight * 0.8f, TranslatableComponent("otm.gui.android_research"))