mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-07-01 23:30:21 +02:00
use luacontroller_LED instead of microcontroller_LED to prevent breaking the digistuff mod which inherits it. I hope no mods inherit microcontroller LED.
This commit is contained in:
@ -12,16 +12,16 @@ for d = 0, 1 do
|
||||
local nodename = "mesecons_microcontroller:microcontroller"..tostring(d)..tostring(c)..tostring(b)..tostring(a)
|
||||
local top = "jeija_microcontroller_top.png"
|
||||
if tostring(a) == "1" then
|
||||
top = top.."^jeija_microcontroller_LED_A.png"
|
||||
top = top.."^jeija_luacontroller_LED_A.png"
|
||||
end
|
||||
if tostring(b) == "1" then
|
||||
top = top.."^jeija_microcontroller_LED_B.png"
|
||||
top = top.."^jeija_luacontroller_LED_B.png"
|
||||
end
|
||||
if tostring(c) == "1" then
|
||||
top = top.."^jeija_microcontroller_LED_C.png"
|
||||
top = top.."^jeija_luacontroller_LED_C.png"
|
||||
end
|
||||
if tostring(d) == "1" then
|
||||
top = top.."^jeija_microcontroller_LED_D.png"
|
||||
top = top.."^jeija_luacontroller_LED_D.png"
|
||||
end
|
||||
local groups
|
||||
if tostring(d)..tostring(c)..tostring(b)..tostring(a) ~= "0000" then
|
||||
|
Reference in New Issue
Block a user