mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-15 13:53:09 +02:00
fix
This commit is contained in:
parent
5f01109da2
commit
3a41ab65f9
@ -405,7 +405,9 @@ local function on_entity_died(event)
|
|||||||
end
|
end
|
||||||
-- Add
|
-- Add
|
||||||
local score = global.score[event.force.name].players[p.name]
|
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
|
end
|
||||||
|
|
||||||
if show_floating_text == true then
|
if show_floating_text == true then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user