Skip to content

Commit

Permalink
Fix cloak and secondary weapon icon
Browse files Browse the repository at this point in the history
Cloak was shutting off when you had a target selected.
  • Loading branch information
thewierdnut committed Mar 21, 2024
1 parent 099aba1 commit a8929ec
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Binary file not shown.
Binary file modified images/ui/icon_secondary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions source/MainPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,8 @@ void MainPanel::Draw()
{
info.SetCondition("targeting asteroid");
}
else if (player.Flagship()->Attributes().Get("cloak"))
{
if (player.Flagship()->Attributes().Get("cloak"))
info.SetCondition("can cloak");
}
if (player.Flagship()->Attributes().Get("asteroid scan power"))
info.SetCondition("can scan asteroids");

Expand Down

0 comments on commit a8929ec

Please sign in to comment.