Crash when using the Multiblade "fish" turbine.
Crash report:
The mod Pyanodons Alternative Energy (1.2.20) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event pyalternativeenergy::on_nth_tick(61)
__pyalternativeenergy__/scripts/wind/wind.lua:94: attempt to concatenate local 'direction' (a nil value)
stack traceback:
__pyalternativeenergy__/scripts/wind/wind.lua:94: in function 'draw_windmill'
__pyalternativeenergy__/scripts/wind/wind.lua:144: in function <__pyalternativeenergy__/scripts/wind/wind.lua:129>
Cause: When surface.wind_orientation is exactly 0.9375, wind_dir will be 0. Since lua starts counting indices from 1, wind_dir_names[0] gives nil, resulting in the quoted error.
To fix the issue:
Mod source
Factorio Mod Portal
Which mod are you having an issue with?
Operating system
GNU/Linux
What kind of issue is this?
What is the problem?
Crash when using the Multiblade "fish" turbine. Crash report:
Cause: When surface.wind_orientation is exactly 0.9375, wind_dir will be 0. Since lua starts counting indices from 1, wind_dir_names[0] gives nil, resulting in the quoted error. To fix the issue:
Disclaimer: I did not find or solved this problem. I'm posting this for a work colleague who has neither github nor discord. Here is the link to his forum post: https://forums.factorio.com/viewtopic.php?p=604905#p604905
Steps to reproduce
No response
Additional context
No response
Log file
No response