diff --git a/maps/mountain_fortress_v2/main.lua b/maps/mountain_fortress_v2/main.lua index fa34490f..8a37d857 100644 --- a/maps/mountain_fortress_v2/main.lua +++ b/maps/mountain_fortress_v2/main.lua @@ -221,7 +221,14 @@ local function hidden_biter(entity) local surface = entity.surface local h = math_floor(math_abs(entity.position.y)) local m = 1 / level_depth - local count = math_floor(math_random(0, h + level_depth) * m) + 1 + + local count = 64 + for _ = 1, 2, 1 do + local c = math_floor(math_random(0, h + level_depth) * m) + 1 + if c < count then count = c end + game.print(count) + end + local position = surface.find_non_colliding_position("small-biter", entity.position, 16, 0.5) if not position then position = entity.position end