Skip to content

Commit

Permalink
Fixed defect 25.
Browse files Browse the repository at this point in the history
  • Loading branch information
klei1984 committed Sep 29, 2023
1 parent 941d0fc commit 9463f67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/game_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6262,10 +6262,13 @@ bool GameManager_UpdateSelection(UnitInfo* unit1, UnitInfo* unit2, int32_t grid_
result = true;
}

} else {
} else if (unit1 != unit2) {
GameManager_UnitSelect(unit2);

result = false;

} else {
result = false;
};

return result;
Expand Down

0 comments on commit 9463f67

Please sign in to comment.