File tree 2 files changed +2
-3
lines changed 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ static void enable_hooks(bool enable)
601
601
INTERPOSE_HOOK (work_hook,getPowerInfo).apply (enable);
602
602
INTERPOSE_HOOK (work_hook,getMachineInfo).apply (enable);
603
603
INTERPOSE_HOOK (work_hook,isPowerSource).apply (enable);
604
-
604
+
605
605
INTERPOSE_HOOK (work_hook,canConnectToMachine).apply (enable);
606
606
INTERPOSE_HOOK (work_hook,isUnpowered).apply (enable);
607
607
INTERPOSE_HOOK (work_hook,canBeRoomSubset).apply (enable);
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ local function onUpdateLocal(workshop)
40
40
end
41
41
end
42
42
local function findCustomWorkshop (name_or_id )
43
- if type (name_or_id )= " string" then
43
+ if type (name_or_id ) == " string" then
44
44
local raws = df .global .world .raws .buildings .all
45
45
for k ,v in ipairs (raws ) do
46
46
if v .code == name_or_id then
@@ -53,7 +53,6 @@ local function findCustomWorkshop(name_or_id)
53
53
else
54
54
error (" Expected string or integer id for workshop definition" )
55
55
end
56
-
57
56
end
58
57
local function registerUpdateAction (shopId ,callback )
59
58
_registeredStuff [shopId ]= callback
You can’t perform that action at this time.
0 commit comments