Skip to content

Commit

Permalink
apply_milestones if type and target match
Browse files Browse the repository at this point in the history
  • Loading branch information
romaniac01 committed Oct 28, 2024
1 parent 4927850 commit 6709116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ export default {
for (let k = 0; k < this.unit.types.length; k++) {
if (this.unit.types[k] === milestoneEffects[j].target) {
activeType = 1
if (
/*if (
this.unit.id === "In_Civ_GathererElephant" &&
this.unit.types[k] === "AbstractVillager" &&
civ !== "indian"
) {
activeType = 0
}
}*/
}
}
if (activeType === 1) {
Expand Down

0 comments on commit 6709116

Please sign in to comment.