From 76ae6a18475d40f9001ae19bb403c0f750d15dd6 Mon Sep 17 00:00:00 2001 From: Matthew Heguy Date: Tue, 26 Feb 2019 16:31:00 -0500 Subject: [PATCH] Fix mining speed buff in market --- features/market.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/market.lua b/features/market.lua index 0ba2985d..6e4a4967 100644 --- a/features/market.lua +++ b/features/market.lua @@ -238,6 +238,8 @@ local function boost_player_mining_speed(player) end mining_records[index].boost_lvl = 1 + mining_records[index].boost_lvl + player.character_mining_speed_modifier = 1 + player.character_mining_speed_modifier + if mining_records[index].boost_lvl >= 4 then game.print(format(mining_speed_boost_messages[mining_records[index].boost_lvl], p_name)) reset_player_mining_speed(player)