when the train is at the depot, I switch it to automatic mode and it gives an error.
Error while running event yet_another_train_manager::on_train_changed_state
(ID 26)
yet_another_train_manager__/scripts/train conf.lua:124: Arguments count
error for 'get_inventory_size': Expected 1 argument but 2 were given
stack traceback:
[C]: in function 'get_inventory_size'
yet_another_train_manager/scripts/train conf.lua:124: in function
'get_train_composition'
__yet_another_train_manager__/scripts/utils.lua:480: in function 'create_train'
yet_another_train_manager/scripts/utils.lua:488: in function
'add_train_to_depot'
_yet_another_train_manager__/scripts/train_manager.lua:353: in function
<_yet_another_train_manager__/scripts/train_manager.lua:322>