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:
commit
cfc85b3b9b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user