From f7e661928aa9dd5895bb436c4d002c69f7ddec97 Mon Sep 17 00:00:00 2001 From: Petr Ohlidal Date: Thu, 26 Sep 2024 16:33:25 +0200 Subject: [PATCH] T-Panel/basic: fixed starter btn visibility problem: The starter key doesn't appear until after the engine is running --- source/main/gui/panels/GUI_VehicleInfoTPanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main/gui/panels/GUI_VehicleInfoTPanel.cpp b/source/main/gui/panels/GUI_VehicleInfoTPanel.cpp index 1f15d89e7e..e0630eb977 100644 --- a/source/main/gui/panels/GUI_VehicleInfoTPanel.cpp +++ b/source/main/gui/panels/GUI_VehicleInfoTPanel.cpp @@ -664,7 +664,7 @@ void VehicleInfoTPanel::DrawVehicleBasicsUI(RoR::GfxActor* actorx) { ImGui::TextDisabled("Engine:"); this->DrawEngineButton(actorx); - if (engine_running) + if (!engine_running) { DrawSingleBulletRow("Starter", EV_TRUCK_STARTER); }