10 lines
227 B
GDScript
10 lines
227 B
GDScript
extends Node2D
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
load_from_game_state()
|
|
|
|
func load_from_game_state():
|
|
$world/player.set_feet_global_position(GameState.position_outside)
|