Skip to content

Commit 2afd153

Browse files
heatsinkable luac
prereq? for mt-mods/digistuff#88
1 parent 57a134b commit 2afd153

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mesecons_luacontroller/init.lua

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -847,11 +847,9 @@ for d = 0, 1 do
847847
top = top.."^jeija_luacontroller_LED_D.png"
848848
end
849849

850-
local groups
850+
local groups = {dig_immediate=2, overheat=1, heatsinkable=1}
851851
if a + b + c + d ~= 0 then
852-
groups = {dig_immediate=2, not_in_creative_inventory=1, overheat = 1}
853-
else
854-
groups = {dig_immediate=2, overheat = 1}
852+
groups.not_in_creative_inventory = 1
855853
end
856854

857855
output_rules[cid] = {}

0 commit comments

Comments
 (0)