Tíquete #43431

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

: 2021-12-20 01:41 Última Atualização: 2021-12-20 01:41

Relator:
Dono:
(Nenhum)
Tipo:
Estado:
Aberto
Componente:
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Nenhum
Arquivo:
Nenhum

Details

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

Editar

Please login to add comment to this ticket » Login