Skip to content

Commit

Permalink
fix(mechanics): Don't attempt to land when the flagship is destroyed (e…
Browse files Browse the repository at this point in the history
  • Loading branch information
mixx99 authored Nov 4, 2024
1 parent 3419d66 commit 9d04986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2047,7 +2047,7 @@ void Engine::HandleMouseClicks()
if(!planet->CanLand(*flagship))
Messages::Add("The authorities on " + planet->Name()
+ " refuse to let you land.", Messages::Importance::Highest);
else
else if(!flagship->IsDestroyed())
{
activeCommands |= Command::LAND;
Messages::Add("Landing on " + planet->Name() + ".", Messages::Importance::High);
Expand Down

0 comments on commit 9d04986

Please sign in to comment.