diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-07-10 13:30:03 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-07-10 13:30:03 +0200 |
commit | ace0c6ce38aeb5251e4eee4f81f4587ce091293b (patch) | |
tree | 23ac0e76f9133f2fd1711b4c4594ce17dc75a074 /modules | |
parent | 0b69be91d56e8983877ec5a48c219cf28a741903 (diff) |
Fix IndexOutOfBounds in FindMsBuildToolsPathOnWindows
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/editor/GodotTools/GodotTools/Build/MsBuildFinder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/Build/MsBuildFinder.cs b/modules/mono/editor/GodotTools/GodotTools/Build/MsBuildFinder.cs index a0d14c43c9..f0068385f4 100644 --- a/modules/mono/editor/GodotTools/GodotTools/Build/MsBuildFinder.cs +++ b/modules/mono/editor/GodotTools/GodotTools/Build/MsBuildFinder.cs @@ -172,7 +172,7 @@ namespace GodotTools.Build if (outputArray.Count == 0) return string.Empty; - var lines = outputArray[1].Split('\n'); + var lines = outputArray[0].Split('\n'); foreach (string line in lines) { |