1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-03 14:53:01 +02:00

Now disables Landfill with Event.on_init()

This commit is contained in:
Soggs 2019-10-14 12:04:10 +02:00
parent 1f4bd76451
commit 0fd02e11c8

View File

@ -7,10 +7,9 @@ local min = math.min
-- Disable Landfill by default
local Event = require 'utils.event'
Event.add(
defines.events.on_player_created,
Event.on_init(
function()
game.player.force.technologies["landfill"].enable = false
game.forces["player"].technologies["landfill"].enabled = false
end
)