1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-08 00:39:30 +02:00

0.17.35 fix

This commit is contained in:
MewMew 2019-05-05 19:58:26 +02:00
parent 7c03115a3d
commit 6e2bd811d9

View File

@ -109,7 +109,7 @@ end
local function get_nearby_players()
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}}
})
if not players[1] then return false end
@ -225,6 +225,7 @@ local analyze_blacklist = {
["compilatron"] = true,
["compi-speech-bubble"] = true,
["entity-ghost"] = true,
["character"] = true,
["item-on-ground"] = true
}