init
This commit is contained in:
9
levels/scripts/player_spawn.gd
Normal file
9
levels/scripts/player_spawn.gd
Normal file
@@ -0,0 +1,9 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
visible = false
|
||||
if !PlayerManager.player_spawned:
|
||||
PlayerManager.set_player_position(global_position)
|
||||
PlayerManager.player_spawned = true
|
||||
|
||||
Reference in New Issue
Block a user