mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-24 03:47:58 +02:00
patch
This commit is contained in:
parent
664db49196
commit
697abc3d98
@ -293,7 +293,6 @@ function Public.leave_spectators(player, quiet)
|
|||||||
|
|
||||||
local chars = player.get_associated_characters()
|
local chars = player.get_associated_characters()
|
||||||
if #chars > 0 then
|
if #chars > 0 then
|
||||||
game.print('hi')
|
|
||||||
player.teleport(chars[1].position, surface)
|
player.teleport(chars[1].position, surface)
|
||||||
player.set_controller{type = defines.controllers.character, character = chars[1]}
|
player.set_controller{type = defines.controllers.character, character = chars[1]}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user