squidy5 / cargo_ships

factorio mod that adds cargo ships and other content to the game
25 stars 39 forks source link

local choices = require("choices") #49

Closed Matthodric closed 4 years ago

Matthodric commented 4 years ago

When Starting a (multiplayer) game, I received an error about some local choices in the "control.lua" Old version worked fine so I checked to see what had changed and found you had removed it from settings.lua but must have forgot to remove it in the control.lua, so I commented it out and now it works.

1 require("logic.ship_placement")
2 require("logic.oil_placement")
3 require("logic.long_reach")
4 require("logic.bridge_logic")
5 require("logic.pump_placement")
6 require("logic.blueprint_logic")
7 require("gui.oil_rig_gui")
8 --require("logic.crane_logic")
9 require("logic.rolling_stock_logic")
10 --local choices = require("choices")
squidy5 commented 4 years ago

version 55 on the mod portal did not include the problem, i did delete the line causing the issue before making the relase. but i didnt update the git, did you get the mod directly from the repository by any chance?

Matthodric commented 4 years ago

Yeah, I always download mods from github if possible to avoid auto updates and other nonsense.