summaryrefslogtreecommitdiff
path: root/modules/mono/editor/godotsharp_builds.cpp
diff options
context:
space:
mode:
authorFerenc Arn <tagcup@yahoo.com>2017-10-05 22:11:10 -0400
committerFerenc Arn <tagcup@yahoo.com>2017-10-05 22:11:10 -0400
commit17e89c2c6634bc5533144192dc229f25b6cfd645 (patch)
treefb03cf05e4cd71630fcfd1b84a509f276b16cda0 /modules/mono/editor/godotsharp_builds.cpp
parentd938de67fff288bf7f0a92fd51a2e890a1b5f245 (diff)
Fix mono enabled builds (broken by 3d87b70).
Diffstat (limited to 'modules/mono/editor/godotsharp_builds.cpp')
-rw-r--r--modules/mono/editor/godotsharp_builds.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/editor/godotsharp_builds.cpp b/modules/mono/editor/godotsharp_builds.cpp
index bb4756e490..b7e3fb0a32 100644
--- a/modules/mono/editor/godotsharp_builds.cpp
+++ b/modules/mono/editor/godotsharp_builds.cpp
@@ -352,8 +352,8 @@ GodotSharpBuilds::GodotSharpBuilds() {
// Build tool settings
EditorSettings *ed_settings = EditorSettings::get_singleton();
- if (!ed_settings->has("mono/builds/build_tool")) {
- ed_settings->set("mono/builds/build_tool", MSBUILD);
+ if (!ed_settings->has_setting("mono/builds/build_tool")) {
+ ed_settings->set_setting("mono/builds/build_tool", MSBUILD);
}
ed_settings->add_property_hint(PropertyInfo(Variant::INT, "mono/builds/build_tool", PROPERTY_HINT_ENUM, "MSBuild (System),MSBuild (Mono),xbuild"));
}