Page MenuHomeWildfire Games

Fix maps after kush temple rename
ClosedPublic

Authored by temple on Mar 10 2018, 5:37 PM.

Details

Summary

From rP21477, kush_temple_apedemak -> kush_temple.

Test Plan

grep to verify it's complete

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

temple created this revision.Mar 10 2018, 5:37 PM
Vulcan added a subscriber: Vulcan.Mar 10 2018, 5:38 PM

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/differential/218/display/redirect

elexis accepted this revision.Mar 10 2018, 5:49 PM
elexis added a subscriber: elexis.

(This is one of the use cases where we could permit a commit without review IMO, as there is hardly a way for temple to commit a wrong patch. Guess it can't be written as a universal law however)

This revision is now accepted and ready to land.Mar 10 2018, 5:49 PM
bb added a subscriber: bb.Mar 10 2018, 5:50 PM

grepping yields:
./binaries/data/mods/public/simulation/ai/petra/headquarters.js: if (this.canBuild(gameState, "structures/{civ}_temple_apedemak"))
./binaries/data/mods/public/simulation/ai/petra/headquarters.js: templateName = "structures/{civ}_temple_apedemak";

mimo added a subscriber: mimo.Mar 10 2018, 5:54 PM
In D1373#56564, @bb wrote:

grepping yields:
./binaries/data/mods/public/simulation/ai/petra/headquarters.js: if (this.canBuild(gameState, "structures/{civ}_temple_apedemak"))
./binaries/data/mods/public/simulation/ai/petra/headquarters.js: templateName = "structures/{civ}_temple_apedemak";

Yes, these two lines should be removed. But currently, they don't break anything as canBuild(apedemak) will return false if it does not find the template.

temple updated this revision to Diff 6122.Mar 10 2018, 5:56 PM

Thanks bb.

(I didn't say anything)

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/differential/219/display/redirect

This revision was automatically updated to reflect the committed changes.
Owners added subscribers: Restricted Owners Package, Restricted Owners Package.Mar 10 2018, 6:25 PM