mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-17 18:40:33 +00:00
fix(ControllerBase): Remove Application.isFocused check
- AutoRun should work even if not focused
This commit is contained in:
parent
7faef65919
commit
82129ce00d
@ -237,9 +237,6 @@ public override void OnStopLocalPlayer()
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (!Application.isFocused)
|
||||
return;
|
||||
|
||||
if (!characterController.enabled)
|
||||
return;
|
||||
|
||||
|
@ -211,9 +211,6 @@ public override void OnStopLocalPlayer()
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (!Application.isFocused)
|
||||
return;
|
||||
|
||||
if (!characterController.enabled)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user