Sleepcap / vDiplomacy

Fork of the original webdip code with many variants and some dev tools
http://www.vdiplomacy.com/
GNU Affero General Public License v3.0
24 stars 13 forks source link

Fix for Europa Renovatio regularly crashing #47

Closed diptobi1 closed 5 years ago

diptobi1 commented 5 years ago

This fix replaces the algorithm to automatically choose units to destroy with the unit destroy index by an algorithm that just chooses units randomly that are not capturing an SC. This should resolve the issue of Europa Renovatio games regularly crashing.

If this small code change proved to be working, it should be copied to all other Build Anywhere variants.