diff options
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/csharp_script.cpp | 4 | ||||
-rw-r--r-- | modules/mono/csharp_script.h | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 8bc459c4fd..e3df0246ab 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -2594,10 +2594,6 @@ void CSharpScript::update_exports() { #endif } -bool CSharpScript::is_valid() const { - return true; //TODO return false if invalid -} - bool CSharpScript::has_script_signal(const StringName &p_signal) const { if (_signals.has(p_signal)) return true; diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h index c9143587fd..269d7ebe42 100644 --- a/modules/mono/csharp_script.h +++ b/modules/mono/csharp_script.h @@ -169,7 +169,7 @@ public: virtual void update_exports(); virtual bool is_tool() const { return tool; } - virtual bool is_valid() const; + virtual bool is_valid() const { return valid; } virtual Ref<Script> get_base_script() const; virtual ScriptLanguage *get_language() const; |