mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-27 03:10:29 +01:00
Fix crash with supply converter
This commit is contained in:
parent
1c617f2c5e
commit
1af6313c69
@ -25,7 +25,6 @@ local run = function(pos, node)
|
|||||||
local to = technic.get_cable_tier(name_down)
|
local to = technic.get_cable_tier(name_down)
|
||||||
|
|
||||||
if from and to then
|
if from and to then
|
||||||
technic.switching_station_timeout_count(pos, from)
|
|
||||||
local input = meta:get_int(from.."_EU_input")
|
local input = meta:get_int(from.."_EU_input")
|
||||||
meta:set_int(from.."_EU_demand", demand)
|
meta:set_int(from.."_EU_demand", demand)
|
||||||
meta:set_int(from.."_EU_supply", 0)
|
meta:set_int(from.."_EU_supply", 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user