From dab2f09e08e62b8ad3c087594b60cc66390ae6d8 Mon Sep 17 00:00:00 2001 From: Shibari <ShibariTOME@Gmail.com> Date: Sat, 1 Apr 2017 13:18:07 -0400 Subject: [PATCH] Fix player_material_tier setting min level twice --- game/modules/tome/class/Store.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/modules/tome/class/Store.lua b/game/modules/tome/class/Store.lua index 12e22fb1f1..933db65c3f 100644 --- a/game/modules/tome/class/Store.lua +++ b/game/modules/tome/class/Store.lua @@ -80,7 +80,7 @@ function _M:loadup(level, zone) -- Increment material level every 10 levels if self.store.player_material_level then zone.min_material_level = 1 - zone.min_material_level = math.floor(game.player.level / 10) + zone.max_material_level = math.floor(game.player.level / 10) end if Store.loadup(self, level, zone, self.store.nb_fill) then self.last_filled = game.state.stores_restock -- GitLab