"Minor code fixes"
This commit is contained in:
parent
fd380d743d
commit
e9eb6c1ecf
BIN
sparkcore/textures/bar_red.png
Normal file
BIN
sparkcore/textures/bar_red.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 158 B |
@ -54,7 +54,7 @@ local function update_formspec(pos)
|
||||
energy, minetest.get_item_group(minetest.get_node(pos).name, "sparktech_energy_max")
|
||||
, 0)
|
||||
|
||||
for item=1, 2 do -- Later this should only be done when a player looks into the block
|
||||
for item=1, 2 do
|
||||
local cooked
|
||||
local aftercooked
|
||||
local progress = meta:get_int("progress_" .. item)
|
||||
@ -100,7 +100,7 @@ local function mytime(pos, elapsed)
|
||||
-- minetest.debug(dump(pos) .. " : " .. dump(item))
|
||||
end
|
||||
|
||||
update_formspec(pos)
|
||||
update_formspec(pos) -- Later this should only be done when a player looks into the block
|
||||
|
||||
if counter == 2 then
|
||||
newcycle = false -- this meens that both finished cooking and the other inventory is full
|
||||
|
Loading…
x
Reference in New Issue
Block a user