10 lines
266 B
GDScript
10 lines
266 B
GDScript
extends Node3D
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
GlobalSettings.SetSpawnPoint(self.global_position, self.global_rotation)
|
|
get_tree().call_group("Player", "respawn")
|
|
if not GlobalSettings.DEVMODE:
|
|
$Sprite3D.hide()
|