Skip to content

Commit

Permalink
Hotfix crash selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsht committed Jan 9, 2024
1 parent 5d000cf commit f6690d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/screens/crew6/cicScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ CicScreen::CicScreen(GuiContainer* owner, bool allow_comms)
case TargetSelection:
{
P<CpuShip> sel_squadron_leader = targets_squadron.get();
if(!sel_squadron_leader)
{
return;
}
int squadron_index{-1};
int n=0;
for(auto info : my_spaceship->launched_squadrons_infos)
Expand Down

0 comments on commit f6690d2

Please sign in to comment.