Hi can you change the migration script: migrations/0.0.3.lua Like this :
local num_wind_turbines = global.num_wind_turbines
if num_wind_turbines ~= nil then
for i=1,num_wind_turbines do
turbine = global.wind_turbines[i]
check_turbine_surroundings(turbine)
calculate_turbine_power(i)
end
end
This fix the crash on first start.
Thanks you