1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-11-06 09:09:26 +02:00

Changed first popup from full inventory to ping (#392)

This commit is contained in:
Simon
2018-11-18 17:06:23 +01:00
committed by Valansch
parent 1c91520160
commit bdfd122f3c

View File

@@ -47,7 +47,8 @@ local function trigger_inventory_warning(player)
local count = full_inventory_mining_cache[player_index]
if not count then
full_inventory_mining_cache[player_index] = 1
require 'features.gui.popup'.player(player, full_inventory_message)
player.print('## - ' .. full_inventory_message, {r = 1, g = 1, b = 0, a = 1})
player.play_sound{path='utility/new_objective', volume_modifier = 1 }
return
end