ops/factorio/multiworld: prohibit /ws while hand-crafting

This commit is contained in:
Luke Granger-Brown 2022-02-05 21:04:03 +00:00
parent 7b4b5dd1a4
commit 43f62d224f
2 changed files with 9 additions and 0 deletions

View file

@ -169,6 +169,11 @@ end
local function port_player_to_world(player, surface)
local p = player.print
if player.crafting_queue_size > 0 then
p("Can't port between worlds while crafting", c)
return
end
player.clear_cursor()
save_inventories(player, get_saved_inventory(player.surface, player))

View file

@ -294,5 +294,9 @@ in {
"[2a0a:54c0:0:17::2]"
];
environment.systemPackages = [
depot.ops.factorio.multiworld
];
system.stateVersion = "20.09";
}