mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-08 00:39:30 +02:00
Update team_teleport.lua
player >> character
This commit is contained in:
parent
6e2bd811d9
commit
d85e1011b8
@ -2,7 +2,7 @@ local event = require 'utils.event'
|
||||
|
||||
local function teleport_player(surface, source_player, position)
|
||||
local materializing_characters = source_player.surface.find_entities_filtered({
|
||||
name = "player",
|
||||
name = "character",
|
||||
area = {{position.x - 1, position.y - 1},{position.x + 1, position.y + 1}},
|
||||
force = "neutral"
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user