ops/factorio/multiworld: prohibit /ws while hand-crafting
This commit is contained in:
parent
7b4b5dd1a4
commit
43f62d224f
2 changed files with 9 additions and 0 deletions
|
@ -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))
|
||||
|
||||
|
|
|
@ -294,5 +294,9 @@ in {
|
|||
"[2a0a:54c0:0:17::2]"
|
||||
];
|
||||
|
||||
environment.systemPackages = [
|
||||
depot.ops.factorio.multiworld
|
||||
];
|
||||
|
||||
system.stateVersion = "20.09";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue