Skip to content

Comments

Fix: don't crash when new towns are created#1

Open
SamuXarick wants to merge 1 commit intoYexo:masterfrom
SamuXarick:fix-town-manager
Open

Fix: don't crash when new towns are created#1
SamuXarick wants to merge 1 commit intoYexo:masterfrom
SamuXarick:fix-town-manager

Conversation

@SamuXarick
Copy link

AdmiralAI crashes! The reason for this crash is the way it handles town indexes. It creates at the beginning, in _town_manager a table mapping TownID to TownManager. It doesn't account for new towns being created.

This fix solves the issue.

By the way, are you willing to update AdmiralAI on BaNaNaS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant