1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00

Merge pull request #753 from Jayefuu/patch-8

maps/line_and_trees.lua - Removed default ability to use landfill.
This commit is contained in:
Simon 2019-02-13 14:43:35 +01:00 committed by GitHub
commit 7179cad9db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
local b = require "map_gen.shared.builders"
local table = require 'utils.table'
local RS = require 'map_gen.shared.redmew_surface'
local Event = require 'utils.event'
local MGSP = require 'resources.map_gen_settings'
local degrees = require "utils.math".degrees
@ -131,4 +132,9 @@ map = b.change_map_gen_collision_tile(map, "water-tile", "grass-1")
map = b.rotate(map, degrees(90))
map = b.scale(map, 3, 3)
local function on_init()
game.forces['player'].technologies['landfill'].enabled = false
end
Event.on_init(on_init)
return map