1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

removed fix for luaCoderAssist

This commit is contained in:
grilledham 2019-01-20 17:15:27 +00:00
parent 6e6501b3a6
commit b865c56897

View File

@ -971,10 +971,7 @@ local function do_magic_crafters()
if fluidbox_index then if fluidbox_index then
local fb = entity.fluidbox local fb = entity.fluidbox
local fb_data = fb[fluidbox_index] local fb_data = fb[fluidbox_index] or {name = data.item, amount = 0}
if not fb_data then
fb_data = {name = data.item, amount = 0}
end
fb_data.amount = fb_data.amount + fcount fb_data.amount = fb_data.amount + fcount
fb[fluidbox_index] = fb_data fb[fluidbox_index] = fb_data
else else