mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-24 03:47:58 +02:00
9 lines
180 B
Lua
9 lines
180 B
Lua
|
local Public = {}
|
||
|
|
||
|
function Public.spawn_player(player)
|
||
|
if player.character then return end
|
||
|
player.create_character()
|
||
|
player.teleport({0,0}, player.surface)
|
||
|
end
|
||
|
|
||
|
return Public
|