Oarcinae / FactorioScenarioMultiplayerSpawn

A custom scenario for Factorio which provides each player a unique starting spawn point in a multiplayer game.
MIT License
49 stars 30 forks source link

Scenario crashes on_tick if it is (incorrectly) set up with energy_sharing = true & coin_shop = false #130

Closed silasary closed 3 years ago

silasary commented 3 years ago

shared_chests.SharedEnergyStoreInputOnTick attempts to run, but global.oshared has never been initialized, so it throws an error on shared_chests.lua:89

This obviously comes from a bad configuration, but it should be more clear as to why the game is crashing.

Oarcinae commented 3 years ago

Whoops, didn't read the title... I'll fix this thanks!