create_entity{fast_replace=true} can fail to drop belts
Posted: Wed Feb 15, 2017 6:02 pm
Case 1:
If I do surface.create_entity{name="fast-transport-belt", position=game.player.selected.position, fast_replace=true} then a yellow belt item-on-ground is created. This behavior is expected.
Case 2:
Same command, no yellow belt is created. Expected behavior: Yellow belt is created nearby.
This only seems to be a problem with belts. Other entities spill properly, even around and onto belts.
If I do surface.create_entity{name="fast-transport-belt", position=game.player.selected.position, fast_replace=true} then a yellow belt item-on-ground is created. This behavior is expected.
Case 2:
Same command, no yellow belt is created. Expected behavior: Yellow belt is created nearby.
This only seems to be a problem with belts. Other entities spill properly, even around and onto belts.