mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 00:13:13 +09:00
Merged branch master into dev
This commit is contained in:
commit
b30d9fa190
1 file changed
+4
-1
@@ -443,9 +443,12 @@ function UpdateInvCombinators()
|
|||||||
end
|
end
|
||||||
|
|
||||||
local items = game.item_prototypes
|
local items = game.item_prototypes
|
||||||
|
local fluids = game.fluid_prototypes
|
||||||
if global.invdata then
|
if global.invdata then
|
||||||
for name,count in pairs(global.invdata) do
|
for name,count in pairs(global.invdata) do
|
||||||
if items[name] then
|
if fluids[name] then
|
||||||
|
invframe[#invframe+1] = {count=count,index=#invframe+1,signal={name=name,type="fluid"}}
|
||||||
|
elseif items[name] then
|
||||||
invframe[#invframe+1] = {count=count,index=#invframe+1,signal={name=name,type="item"}}
|
invframe[#invframe+1] = {count=count,index=#invframe+1,signal={name=name,type="item"}}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user