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:
parent
1f4bd76451
commit
0fd02e11c8
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user