mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-30 04:30:58 +02:00
teleport player to board surface
This commit is contained in:
parent
e33b77e1bb
commit
dabadd8ac2
@ -351,7 +351,7 @@ local function new_snake(player)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
player.teleport(pos)
|
player.teleport(pos, board.surface)
|
||||||
player.create_character()
|
player.create_character()
|
||||||
character = player.character
|
character = player.character
|
||||||
character.character_running_speed_modifier = -1
|
character.character_running_speed_modifier = -1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user