Kehom/GodotAddonPack

[Network] player_removed is not called for clients

yuraj11 opened this issue · 4 comments

player_added signal works fine and it's called on all clients but player_removed is called only on server.

@yuraj11 are you using websockets and testing on smartphone browsers?

I noticed that websockets on iOS Safari aren't properl closed if the user leaves the website. Sometimes it takes up to 10 mins for godot to notice that the player has left.

On desktop but there's implementation but it is commented in network.gd in function _on_player_disconnected for some reason.

Kehom commented

Is this still the case? I ask because 6192200 has changed the _on_player_disconnected and there is no commented "command" in it since that commit.

Yeah sorry didn't see it. Works :)