diff options
author | RedworkDE <10944644+RedworkDE@users.noreply.github.com> | 2023-03-31 11:53:16 +0200 |
---|---|---|
committer | RedworkDE <10944644+RedworkDE@users.noreply.github.com> | 2023-06-21 12:47:52 +0200 |
commit | e0f644a48da49843ad63a06982af85f13783899c (patch) | |
tree | eb5d5cee4e2502679d5e83d6f69d76afe6d6d27c /main | |
parent | 58fae90ff39c30d19ecd902d3ae9a4de136ca501 (diff) | |
download | redot-engine-e0f644a48da49843ad63a06982af85f13783899c.tar.gz |
C#: Fix editor integration breaking and causing error spam when reloading assemblies fails
- Do not reload scripts from non-collectible assemblies
- Do not load GodotTools as collectible
- Do not attempt to reload the same project assembly forever
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index 0fb6813c6b..f6c4df583b 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -2756,6 +2756,7 @@ bool Main::start() { // Default values should be synced with mono_gd/gd_mono.cpp. GLOBAL_DEF("dotnet/project/assembly_name", ""); GLOBAL_DEF("dotnet/project/solution_directory", ""); + GLOBAL_DEF(PropertyInfo(Variant::INT, "dotnet/project/assembly_reload_attempts", PROPERTY_HINT_RANGE, "1,16,1,or_greater"), 3); #endif Error err; |