Late connection
This commit is contained in:
parent
59bf07b076
commit
63209ccc1e
9 changed files with 73 additions and 23 deletions
|
|
@ -8,6 +8,9 @@ func _ready() -> void:
|
|||
queue_free()
|
||||
return
|
||||
Session.round_started.connect(spawn)
|
||||
if team == Session.TEAMS.SPECTATE:
|
||||
Session.late_player_connected.connect(spawn_spectator)
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
if not multiplayer.is_server():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue