diff --git a/.releaserc.yml b/.releaserc.yml index 6486a5ead..b8c2c4a2d 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -73,5 +73,5 @@ plugins: - path: "Mirror.unitypackage" label: "Mirror Unity Package" name: "Mirror-${nextRelease.version}.unitypackage" - - successCommentCondition: "false" - - failCommentCondition: "false" \ No newline at end of file + successCommentCondition: "false" + failCommentCondition: "false" diff --git a/Assets/Mirror/Examples/_Common/Controllers/PlayerController/PlayerControllerBase.cs b/Assets/Mirror/Examples/_Common/Controllers/PlayerController/PlayerControllerBase.cs index c384199af..6ee3105ea 100644 --- a/Assets/Mirror/Examples/_Common/Controllers/PlayerController/PlayerControllerBase.cs +++ b/Assets/Mirror/Examples/_Common/Controllers/PlayerController/PlayerControllerBase.cs @@ -237,9 +237,6 @@ public override void OnStopLocalPlayer() void Update() { - if (!Application.isFocused) - return; - if (!characterController.enabled) return; diff --git a/Assets/Mirror/Examples/_Common/Controllers/TankController/TankControllerBase.cs b/Assets/Mirror/Examples/_Common/Controllers/TankController/TankControllerBase.cs index 2c9a7a261..e162492b2 100644 --- a/Assets/Mirror/Examples/_Common/Controllers/TankController/TankControllerBase.cs +++ b/Assets/Mirror/Examples/_Common/Controllers/TankController/TankControllerBase.cs @@ -211,9 +211,6 @@ public override void OnStopLocalPlayer() void Update() { - if (!Application.isFocused) - return; - if (!characterController.enabled) return;