Hi, I have a strange bug with Krastorio 2.
remote.call('factorissimo', 'get_factory_by_building', entity)
returns nil for the entity {name = "factory-1", type = "storage-tank"}
but only if Krastorio 2 ist installed.
Any idea to fix this? Thx
when I call get_factory_by_building, it is this not always game.player.selected.
I need any entity I specify independend of player selection, calculated by distance. or similar
if i remember correctly after 7 months ;-) i wanted the building in which there is a specific chest (by foreach)