Skip to content

Commit

Permalink
Merge pull request #18967 from Valentactive/fix-mono-build-linux
Browse files Browse the repository at this point in the history
fixes build error on Linux after its introduction in #18949
  • Loading branch information
akien-mga authored May 17, 2018
2 parents b0649d2 + 6c74f3d commit edc3e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/mono/editor/godotsharp_builds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ MonoString *godot_icall_BuildInstance_get_MSBuildPath() {
if (build_tool == GodotSharpBuilds::XBUILD) {
if (xbuild_path.empty()) {
WARN_PRINT("Cannot find binary for '" PROP_NAME_XBUILD "'");
return;
return NULL;
}
} else {
if (msbuild_path.empty()) {
WARN_PRINT("Cannot find binary for '" PROP_NAME_MSBUILD_MONO "'");
return;
return NULL;
}
}

Expand Down

0 comments on commit edc3e6b

Please sign in to comment.