mirror of
https://github.com/minetest-mods/technic.git
synced 2025-03-14 08:30:34 +01:00
fix some things
This commit is contained in:
parent
0ee06ab35f
commit
6c85f08cd5
@ -97,7 +97,7 @@ local digiline_def = {
|
||||
end
|
||||
power = math.max(power, 0)
|
||||
power = math.min(power, 10000)
|
||||
--~ power = 100 * math.floor(power / 100)
|
||||
power = 100 * math.floor(power / 100)
|
||||
meta:set_int("power", power)
|
||||
elseif msg:sub(1, 12) == "mesecon_mode" then
|
||||
meta:set_int("mesecon_mode", tonumber(msg:sub(14)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user