mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-30 14:48:56 +07:00
Minor changes
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import {Octokit} from "@octokit/rest";
|
||||
import fs from "fs";
|
||||
// To be run from the main Unciv repo directory
|
||||
|
||||
// To be run from the root of the Unciv repo (node .github/workflows/incrementVersionAndChangelog.mjs)
|
||||
// Summarizes and adds the summary to the changelog.md file
|
||||
// Meant to be run from a Github action as part of the preparation for version rollout
|
||||
|
||||
@ -65,8 +66,7 @@ async function parseCommits() {
|
||||
}
|
||||
);
|
||||
|
||||
Object.entries(ownerToCommits).forEach(entry => {
|
||||
const [author, commits] = entry;
|
||||
Object.entries(ownerToCommits).forEach((author,commits) => {
|
||||
if (commits.length === 1) {
|
||||
commitSummary += "\n\n" + commits[0] + " - By " + author;
|
||||
} else {
|
||||
|
@ -404,7 +404,7 @@ class MapUnit : IsPartOfGameInfoSerialization {
|
||||
isCivilian() -> false
|
||||
baseUnit.movesLikeAirUnits -> false
|
||||
isEmbarked() -> false
|
||||
hasUnique(UniqueType.NoDefensiveTerrainBonus) -> false
|
||||
hasUnique(UniqueType.NoDefensiveTerrainBonus, checkCivInfoUniques = true) -> false
|
||||
ignoreAlreadyFortified -> true
|
||||
isFortified() -> false
|
||||
else -> true
|
||||
|
Reference in New Issue
Block a user