WIP: Handle player disconnected
This commit is contained in:
@ -26,9 +26,7 @@ func _ready() -> void:
|
||||
if err != OK:
|
||||
push_error("Couldn't load object spawner")
|
||||
# add objects spawner
|
||||
if multiplayer.is_server():
|
||||
_spawn_player(1)
|
||||
else:
|
||||
if not OS.has_feature("dedicated_server"):
|
||||
_request_spawn.rpc_id(1, multiplayer.get_unique_id())
|
||||
pass # Replace with function body.
|
||||
|
||||
|
Reference in New Issue
Block a user