forked from interstellar_development/freeftf
Devel Sync
This commit is contained in:
parent
3c0be2d800
commit
34588e132a
2 changed files with 10 additions and 5 deletions
|
|
@ -60,7 +60,8 @@ func _on_player_disconnected(id):
|
|||
if current_character.captured_by != null:
|
||||
current_character.captured_by.lost_one()
|
||||
await get_tree().create_timer(0.5).timeout
|
||||
current_character.free()
|
||||
if is_instance_valid(current_character):
|
||||
current_character.free()
|
||||
x += 1
|
||||
Game.player_list.erase(id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue