1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

Update map_gen/maps/crash_site/outpost_builder.lua

Co-authored-by: grilledham <jrdgillham@gmail.com>
This commit is contained in:
Jayefuu 2021-02-07 12:07:28 +00:00 committed by GitHub
parent a363a70f33
commit 3fb08af57c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1481,7 +1481,7 @@ Public.magic_item_crafting_callback =
local recipe = callback_data.recipe
if recipe then
entity.set_recipe(recipe)
if not callback_data.keep_active then -- to avoid trying to put an item into a fluid inventory
if not callback_data.has_fluid_output then -- to avoid trying to put an item into a fluid inventory
entity.get_output_inventory().insert(callback_data.output.item)
end
else