Skip to content

Commit

Permalink
Make faction module usable from invoke (#3292)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpalpha authored Sep 18, 2023
1 parent c712976 commit 94c7eb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/faction/commons/faction.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
--

local Array = require('Module:Array')
local Class = require('Module:Class')
local Data = mw.loadData('Module:Faction/Data')
local Lua = require('Module:Lua')
local String = require('Module:StringUtils')
Expand Down Expand Up @@ -159,4 +160,4 @@ function Faction.bgClass(faction)
return factionProps and factionProps.bgClass or nil
end

return Faction
return Class.export(Faction)

0 comments on commit 94c7eb4

Please sign in to comment.