prevent furnaces flashing on fuel load

This commit is contained in:
kay27 2020-08-21 16:07:50 +04:00
parent 6efed85866
commit a728974d8a

View File

@ -183,7 +183,7 @@ local function furnace_get_delta_time(pos)
last_game_time = tonumber(last_game_time) last_game_time = tonumber(last_game_time)
end end
if not last_game_time or last_game_time < 1 then if not last_game_time or last_game_time < 1 then
last_game_time = current_game_time last_game_time = current_game_time + 0.1
elseif last_game_time == current_game_time then elseif last_game_time == current_game_time then
current_game_time = current_game_time + 1.0 current_game_time = current_game_time + 1.0
end end