renoth/factorio-alien-module

Buggy Update - crash

Closed this issue · 1 comments

First of all!

Thx for the update!

I Admit, earlier I cheated a little bit, and I just rewrited the info.json in your mod to 1.1, but it coused me a crash when a hypermodule leveld up. Now its the same with your update!
Here is the error message what I got!

Error while running event alien-module::on_nth_tick(120)
LuaPlayer doesn't contain key character_logistic_slot_count.
stack traceback:
[C]: in function '__index'
alien-module/control.lua:242: in function 'update_logistic_slots'
alien-module/control.lua:377: in function <alien-module/control.lua:331>

Thx again, now its work like a charm. 👍