rename game manager

This commit is contained in:
anyreso 2024-05-07 22:57:53 -04:00
parent 32c80ea79a
commit f7fbbed014
7 changed files with 18 additions and 18 deletions

View file

@ -35,7 +35,7 @@ func trigger() -> void:
owner.match_participant_component
)
# add to owner of player for now
GameManager.mode.add_child(projectile)
Game.mode.add_child(projectile)
projectile.shape_cast.add_exception(owner)
func _on_visibility_changed() -> void:

View file

@ -21,7 +21,7 @@ func trigger() -> void:
owner.match_participant_component
)
# add to owner of player for now
GameManager.mode.add_child(projectile)
Game.mode.add_child(projectile)
func _on_visibility_changed() -> void:
if self.visible:

View file

@ -36,7 +36,7 @@ func trigger() -> void:
owner.match_participant_component
)
# add to owner of player for now
GameManager.mode.add_child(projectile)
Game.mode.add_child(projectile)
# ensure projectile does not collide with owner
var collider : ShapeCast3D = projectile.shape_cast
collider.add_exception(owner)