Skip to content

Commit

Permalink
T-Panel/basic: fixed starter btn visibility
Browse files Browse the repository at this point in the history
problem: The starter key doesn't appear until after the engine is running
  • Loading branch information
ohlidalp committed Sep 26, 2024
1 parent 0667042 commit f7e6619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main/gui/panels/GUI_VehicleInfoTPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f7e6619

Please sign in to comment.