WIP: Some updates

This commit is contained in:
2025-02-09 16:58:32 +01:00
parent 90cd42c1cf
commit 8126b28464
3 changed files with 21 additions and 17 deletions

View File

@ -28,8 +28,8 @@ func spawn_players(spawn_location: SpawnController, id: int) -> Error:
var model_scene: PackedScene = ResourceLoader.load("res://scenes/characters/y-bot/character.tscn")
var model: CharacterWrapper = model_scene.instantiate()
model.global_position = new_position
model.set_owner_placeholder(char)
_get_model_root().add_child(model)
model.owner_placeholder = char
return OK
return ERR_UNAUTHORIZED