1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00

Merge pull request #117 from cogito123/planet_prison_gen_fix

planet_prison: fix double chunk generation bug
This commit is contained in:
MewMew 2020-01-08 18:29:56 +01:00 committed by GitHub
commit 4863ca8270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -469,6 +469,10 @@ local function make_ore_patch(e)
end
local function on_chunk_generated(e)
if e.surface.name ~= "arena" then
return
end
make_ore_patch(e)
_layers.push_bounding_box(e.area)
end

View File

@ -534,7 +534,7 @@ public.merchant_offer = {
}
public.manual = [[
[font=heading-1]Planet Prison (1.0.0) - Manual[/font]
[font=heading-1]Planet Prison (1.0.1) - Manual[/font]
[font=default-bold]You did naughty things and was sent to this planet with a one way ticket. Once an industrial site, turned into non-hospitable planet due to pollution and war. Among other inmates, there are still bandits scavenging through the junk looking for rare items.
This is an ultimate survival scenario with very hostile environment.