Psychologically for a new player, the AI has an advantage here, while in fact the AI has a disadvantage by building a useless building.
Do you already check if seafaring is available before building a shipyard? The new code might go in that place.
BTW we have another open bug about the weaving mill, which might now be obsolete due to the recent AI changes: https://bugs.launchpad.net/widelands/+bug/1642196
Psychologically for a new player, the AI has an advantage here, while in fact the AI has a disadvantage by building a useless building.
Do you already check if seafaring is available before building a shipyard? The new code might go in that place.
BTW we have another open bug about the weaving mill, which might now be obsolete due to the recent AI changes: https:/ /bugs.launchpad .net/widelands/ +bug/1642196