tweak logging
This commit is contained in:
parent
c1719d8dd5
commit
25a3b67cd2
@ -93,7 +93,7 @@ func _switch_scene(from: Node, to: PackedScene) -> void:
|
||||
|
||||
var new_scene := to.instantiate()
|
||||
get_tree().get_root().add_child(new_scene)
|
||||
print("Scene ", to, " loaded")
|
||||
print("Scene loaded")
|
||||
|
||||
|
||||
func _load_main() -> void:
|
||||
|
||||
@ -33,9 +33,7 @@ func _enter_tree() -> void:
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
print("Player ", _peer_id, " ready")
|
||||
_name_label.text = str(name)
|
||||
print(str(name), Networker.players)
|
||||
if not is_multiplayer_authority():
|
||||
return
|
||||
|
||||
@ -44,7 +42,7 @@ func _ready() -> void:
|
||||
_camera.make_current()
|
||||
Referencer.player = self
|
||||
Referencer.camera = _camera
|
||||
print("Player ", _peer_id, " ready local")
|
||||
print("Player ", _peer_id, " ready authority")
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user