mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-06 18:20:37 +02:00
fix some things
This commit is contained in:
@ -97,7 +97,7 @@ local digiline_def = {
|
|||||||
end
|
end
|
||||||
power = math.max(power, 0)
|
power = math.max(power, 0)
|
||||||
power = math.min(power, 10000)
|
power = math.min(power, 10000)
|
||||||
--~ power = 100 * math.floor(power / 100)
|
power = 100 * math.floor(power / 100)
|
||||||
meta:set_int("power", power)
|
meta:set_int("power", power)
|
||||||
elseif msg:sub(1, 12) == "mesecon_mode" then
|
elseif msg:sub(1, 12) == "mesecon_mode" then
|
||||||
meta:set_int("mesecon_mode", tonumber(msg:sub(14)))
|
meta:set_int("mesecon_mode", tonumber(msg:sub(14)))
|
||||||
|
Reference in New Issue
Block a user