1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-05 15:05:57 +02:00

Fix mining speed buff in market

This commit is contained in:
Matthew Heguy 2019-02-26 16:31:00 -05:00
parent 708f991778
commit 76ae6a1847

View File

@ -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)