Skip to content

Commit e007218

Browse files
K-ToneCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent f4eb680 commit e007218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/com.unity.inputsystem/InputSystem/InputSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3716,7 +3716,7 @@ private static void OnProjectChange()
37163716
// temporary settings object.
37173717
// NOTE: We access m_Settings directly here to make sure we're not running into asserts
37183718
// from the settings getter checking it has a valid object.
3719-
if (HasNativeObject(s_Manager.m_Settings))
3719+
if (!HasNativeObject(s_Manager.m_Settings))
37203720
{
37213721
var newSettings = ScriptableObject.CreateInstance<InputSettings>();
37223722
newSettings.hideFlags = HideFlags.HideAndDontSave;

0 commit comments

Comments
 (0)