Factorio: no longer lock starting_items behind free_samples

This commit is contained in:
Fabian Dill 2021-05-09 18:13:17 +02:00
parent fa24fd31d0
commit 4efd27694a
1 changed files with 1 additions and 3 deletions

View File

@ -17,9 +17,7 @@ function on_force_created(event)
--event.force appears to be LuaForce.name, not LuaForce
game.forces[event.force].research_queue_enabled = true
local data = {}
if FREE_SAMPLES ~= 0 then
data['earned_samples'] = {{ dict_to_lua(starting_items) }}
end
data['earned_samples'] = {{ dict_to_lua(starting_items) }}
data["victory"] = 0
global.forcedata[event.force] = data
end