1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Update map_gen/maps/diggy/feature/experience.lua

Co-Authored-By: plague006 <plague006@users.noreply.github.com>
This commit is contained in:
Lynn 2019-02-13 12:18:40 -05:00 committed by GitHub
parent 17cc882b04
commit dd93821f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ local function on_research_finished(event)
award_xp = award_xp + reward
end
local exp = award_xp * research.research_unit_count
local text = format('Research completed! +s XP', exp)
local text = format('Research completed! +%s XP', exp)
for _, p in pairs(game.connected_players) do
local player_index = p.index
print_player_floating_text_position(player_index, text, gain_xp_color, -1, -0.5)