1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-05-13 21:56:29 +02:00

planet_prison: harden merchant exploit check

Increase the radius of power pole check up to 18.
This commit is contained in:
cogito 2020-01-19 12:53:11 +01:00
parent ff670c7ae4
commit 1769cc9fc5

View File

@ -909,7 +909,7 @@ local function merchant_exploit_check(ent)
local query = {
type = "electric-pole",
position = bp_ent.position,
radius = 15
radius = 18
}
local ents = surf.find_entities_filtered(query)
for _, s_ent in pairs(ents) do