diff options
author | Wuzzy <almikes@aol.com> | 2016-08-25 22:39:56 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-25 22:39:56 +0200 |
commit | d755d8a51b578df28513ba5b7a20e68f7bdb128c (patch) | |
tree | 8a08fb6de7577905e0305c35ea3ab844d5abdcb6 /init.lua | |
parent | 52cc5f7bd7628c2c20835bb6966af30b7d184cba (diff) |
Sort drop probabilities for max_drops==nil
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 |