Fast transfer (Ctrl+LMB) seems to be doing it's own collision box checking instead of respecting that the player has nothing selected.
Expected behavior
If the player has nothing selected then they shouldn't be able to fast-transfer.
Reproduction
Code: Select all
/c
script.on_event(defines.events.on_tick, function(e)
for _, p in pairs(game.players) do
p.selected = nil
end
end)
- Start a new game.
- Script force selection to nil. (command or demo mod)
- Take a stack and insert it into the spaceship.
- Take the stack back out if you want.