mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-24 03:47:58 +02:00
0.17.35 fix
This commit is contained in:
parent
7c03115a3d
commit
6e2bd811d9
@ -109,7 +109,7 @@ end
|
|||||||
|
|
||||||
local function get_nearby_players()
|
local function get_nearby_players()
|
||||||
local players = global.comfylatron.surface.find_entities_filtered({
|
local players = global.comfylatron.surface.find_entities_filtered({
|
||||||
name = "player",
|
name = "character",
|
||||||
area = {{global.comfylatron.position.x - 9, global.comfylatron.position.y - 9}, {global.comfylatron.position.x + 9, global.comfylatron.position.y + 9}}
|
area = {{global.comfylatron.position.x - 9, global.comfylatron.position.y - 9}, {global.comfylatron.position.x + 9, global.comfylatron.position.y + 9}}
|
||||||
})
|
})
|
||||||
if not players[1] then return false end
|
if not players[1] then return false end
|
||||||
@ -225,6 +225,7 @@ local analyze_blacklist = {
|
|||||||
["compilatron"] = true,
|
["compilatron"] = true,
|
||||||
["compi-speech-bubble"] = true,
|
["compi-speech-bubble"] = true,
|
||||||
["entity-ghost"] = true,
|
["entity-ghost"] = true,
|
||||||
|
["character"] = true,
|
||||||
["item-on-ground"] = true
|
["item-on-ground"] = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user