Skip to content

Commit

Permalink
Code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Grund <[email protected]>
  • Loading branch information
ottml and Flamefire authored Jul 7, 2024
1 parent 789b9ea commit 8b7a861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/s25main/figures/nofWinegrower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ nofFarmhand::PointQuality nofWinegrower::GetPointQuality(const MapPoint pt) cons
{
// Try to "plant" a new grapefield
// Still enough wares when starting new work (state = Waiting1)?
if(!workplace->WaresAvailable() && state == State::Waiting1)
if(state == State::Waiting1 && !workplace->WaresAvailable())
return PointQuality::NotPossible;

// Do not build on road
Expand Down

0 comments on commit 8b7a861

Please sign in to comment.