Skip to content

Commit d9c1382

Browse files
author
Stephen Hodgson
committed
fixed flipped logic
1 parent a8b2832 commit d9c1382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/HoloToolkit/Input/Scripts/InputSources/EditorInputSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public override bool TryGetMenu(uint sourceId, out bool isPressed)
251251

252252
private void Awake()
253253
{
254-
if (Application.isEditor)
254+
if (!Application.isEditor)
255255
{
256256
Destroy(gameObject);
257257
return;

0 commit comments

Comments
 (0)