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:
parent
6f5e8a7765
commit
b4daaa6497
@ -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 }
|
||||
|
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user