Ticket #43431

dai_upgrade_units() funny behavior if there would be multiple upgrade actions

Date d'ouverture: 2021-12-20 01:41 Dernière mise à jour: 2021-12-20 01:41

Rapporteur:
Propriétaire:
(Aucun)
Type:
État:
Ouvert
Composant:
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun

Détails

dai_upgrade_units() upgrades units inside action_list_iterate(), and it does not leave the iteration if one action success. It might try to apply multiple upgrade actions, and assumes that each of them would upgrade from the original unit type (old_type is set before the loop).

Ticket History (1/1 Histories)

2021-12-20 01:41 Updated by: cazfi
  • New Ticket "dai_upgrade_units() funny behavior if there would be multiple upgrade actions" created

Attachment File List

No attachments

Modifier

Please login to add comment to this ticket » Connexion