10 lines
184 B
GDScript
10 lines
184 B
GDScript
extends Node2D
|
|
|
|
|
|
func _ready() -> void:
|
|
visible = false
|
|
if !PlayerManager.player_spawned:
|
|
PlayerManager.set_player_position(global_position)
|
|
PlayerManager.player_spawned = true
|
|
|