File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -602,7 +602,7 @@ static void enable_hooks(bool enable)
602602 INTERPOSE_HOOK (work_hook,getPowerInfo).apply (enable);
603603 INTERPOSE_HOOK (work_hook,getMachineInfo).apply (enable);
604604 INTERPOSE_HOOK (work_hook,isPowerSource).apply (enable);
605-
605+
606606 INTERPOSE_HOOK (work_hook,canConnectToMachine).apply (enable);
607607 INTERPOSE_HOOK (work_hook,isUnpowered).apply (enable);
608608 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)
4040 end
4141end
4242local function findCustomWorkshop (name_or_id )
43- if type (name_or_id )= " string" then
43+ if type (name_or_id ) == " string" then
4444 local raws = df .global .world .raws .buildings .all
4545 for k ,v in ipairs (raws ) do
4646 if v .code == name_or_id then
@@ -53,7 +53,6 @@ local function findCustomWorkshop(name_or_id)
5353 else
5454 error (" Expected string or integer id for workshop definition" )
5555 end
56-
5756end
5857local function registerUpdateAction (shopId ,callback )
5958 _registeredStuff [shopId ]= callback
You can’t perform that action at this time.
0 commit comments