1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-26 22:56:43 +02:00

Mtn: Fix no white science on rocket launch

This commit is contained in:
Gerkiz 2024-11-02 10:34:48 +01:00
parent 6f5e8a7765
commit b4daaa6497
2 changed files with 3 additions and 2 deletions

View File

@ -1167,6 +1167,7 @@ local function get_mvps(force)
table.insert(score_list, { name = p.name, killscore = killscore, built_entities = built_entities, mined_entities = mined_entities })
end
end
if not score_list[1] or not score_list[1].name then return mvp end
local mvp = {}
score_list = get_sorted_list('killscore', score_list)
mvp.killscore = { name = score_list[1].name, score = score_list[1].killscore }

View File

@ -199,8 +199,8 @@ Event.add(
launch_item.actual = launch_item.actual + 1
end
end
rocket_inventory.clear()
rocket_inventory.insert({ name = 'space-science-pack', count = 200 })
-- rocket_inventory.clear()
-- rocket_inventory.insert({ name = 'space-science-pack', count = 200 })
end
)