1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-13 13:49:33 +02:00
This commit is contained in:
MewMew 2019-10-12 08:30:38 +02:00
parent 5f01109da2
commit 3a41ab65f9

View File

@ -405,7 +405,9 @@ local function on_entity_died(event)
end
-- Add
local score = global.score[event.force.name].players[p.name]
score.killscore = points + (score.killscore or 0)
if score then
score.killscore = points + (score.killscore or 0)
end
end
if show_floating_text == true then