properly abstract (Kinda?) inv_ail and inv_ra
This commit is contained in:
parent
6825a05778
commit
d86ab173e1
7 changed files with 224 additions and 239 deletions
|
|
@ -1,11 +1,6 @@
|
|||
local config = require("../../config") ---@type Config
|
||||
local inv;
|
||||
local inv = require("modules.inv")
|
||||
|
||||
if config.inventories == nil and config.remote.connection then
|
||||
inv = require("modules.inv_ra")
|
||||
else
|
||||
inv = require("modules.inv")
|
||||
end
|
||||
local function levDist(s, t)
|
||||
local n = #s
|
||||
local m = #t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue