1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

Merge pull request #824 from plague006/fix/mining_speed_buff

Fix mining speed buff in market
This commit is contained in:
Matthew 2019-02-26 17:48:12 -05:00 committed by GitHub
commit cfc85b3b9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)