.14.22 - Ammo bar changes size after prototype change
Posted: Fri Mar 10, 2017 9:43 am
I thought I seen a bug report resembling this before but I can't find it. So I will post it here. Apologies if this has already been reported.
Changing the magazine size of an existing ammo item causes the ammo bar to grow beyond the icon size as well as the item keeping the old magazine_size as current ammo count.
Steps to reproduce:
Load Factorio.
Give yourself a couple of stacks of firearm magazines.
Put them in a chest.
Save and quit Factorio.
Edit demo-ammo.lua and change the magazine_size to 5.
Load your save and observe the ammo in the chest.
Changing the magazine size of an existing ammo item causes the ammo bar to grow beyond the icon size as well as the item keeping the old magazine_size as current ammo count.
Steps to reproduce:
Load Factorio.
Give yourself a couple of stacks of firearm magazines.
Put them in a chest.
Save and quit Factorio.
Edit demo-ammo.lua and change the magazine_size to 5.
Load your save and observe the ammo in the chest.