Networking
This commit is contained in:
@@ -35,6 +35,8 @@ func _enter_tree():
|
||||
if is_local_authority():
|
||||
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
||||
|
||||
func init():
|
||||
$Body/Head/Hand.set_weapons()
|
||||
|
||||
func is_local_authority():
|
||||
return $Networking/MultiplayerSynchronizer.get_multiplayer_authority() == multiplayer.get_unique_id()
|
||||
|
||||
Reference in New Issue
Block a user