mk-fg / games

Misc game-related tweaks and tools that I tend to write
9 stars 10 forks source link

Update "Circuit Power Measurement Combinator" for Factorio 1.1. #5

Closed Synthlight closed 3 years ago

Synthlight commented 3 years ago

https://forums.factorio.com/viewtopic.php?f=34&t=91606

Changed 'control_behavior.parameters.parameters' to just 'control_behavior.parameters' for LuaDeciderCombinatorControlBehavior, LuaConstantCombinatorControlBehavior, and LuaArithmeticCombinatorControlBehavior.

I made two small changes in control.lua to match, and now it works for me in Factorio 1.1.

mk-fg commented 3 years ago

Thanks again for spotting it so quickly. Added 53048be on top to keep code compatible with earlier factorio versions.

Related thread on mod portal: https://mods.factorio.com/mod/Circuit_Power_Measurement_Combinator/discussion/5fbc647fd0e33c92e495dbf1