mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-13 13:49:33 +02:00
fix
This commit is contained in:
parent
5f01109da2
commit
3a41ab65f9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user