Upgrade Builder and Planner deprecated

by Klonan

Automatically upgrade buildings by hand or with construction robots.

Utilities
6 years ago
0.13 - 0.16
241

b Error when upgrading turrets

6 years ago

Hi,
I got this error message "Error while running upgrade-planner::on_player_selected_area (ID 49) upgrade-planner/control.lua:774: attempt to index a nil value" and the game restarts from the main menu.
I was trying to replace gun turrets with laser turrets. It happens consistently and I can repeat it several times, so it appears to be not a random issue.

6 years ago

Just tried again, and it happens - more precisely - only with turrets that have ammo in them. If a turret becomes empty, I can upgrade it successfully.

6 years ago

Hi, there's also another issue which I just noticed. When upgrading empty gun turrets with laser turrets, the inventory items are not updated, so with just 1 laser turret in my inventory I can replace as many gun turrets I want. Thanks.

6 years ago

I've ran into the exact same problem, and have a save that replicates it if needed!

New response