Skip to content

Commit 3ffba3d

Browse files
committed
Make getUnitBeliefList() global
1 parent 61262e9 commit 3ffba3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modtools/set-belief.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ end
153153
-- Gives a list of all the unit's beliefs and their values.
154154
-- Returns a table where the keys are the belief names and its values are its strength
155155
-- If tiers is true, the value is the tier of the belief instead of the trait's strength
156-
local function getUnitBeliefList(unit, tiers)
156+
function getUnitBeliefList(unit, tiers)
157157
local list = {}
158158

159159
for id, beliefName in ipairs(df.value_type) do

0 commit comments

Comments
 (0)