diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -581,7 +581,7 @@ doc.new_category("nodes", { end end -- Do some cleanup of the probability table - if max == 1 then + if max == 1 or max == nil then -- Sort by rarity local comp = function(p1, p2) return p1.rarity < p2.rarity |