improve network error handling
This commit is contained in:
@@ -2,7 +2,7 @@ extends Node
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
Networker.main_loaded.connect(_on_multiplayerer_main_loaded)
|
||||
Networker.main_loaded.connect(_on_networker_main_loaded)
|
||||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
@@ -13,5 +13,5 @@ func _input(event: InputEvent) -> void:
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
|
||||
|
||||
func _on_multiplayerer_main_loaded() -> void:
|
||||
func _on_networker_main_loaded() -> void:
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
|
||||
Reference in New Issue
Block a user