summaryrefslogtreecommitdiffstats
path: root/modules/mono/managed_callable.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-05-09 20:54:07 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-05-09 20:54:16 +0200
commitaf4acb5b1163089fe727000b39cefb4fc799f1db (patch)
tree5d46c1bc87ccfbe76a28569b0ff3ec652ce9ee61 /modules/mono/managed_callable.cpp
parent61306eb830cba932c57bc3e83ea462a49f2ebd97 (diff)
downloadredot-engine-af4acb5b1163089fe727000b39cefb4fc799f1db.tar.gz
C#/Mono: Check assembly version when loading
Not sure if we should check revision too, but this is good enough for what we want. This will be needed to load the correct Microsoft.Build when we switch to the nuget version.
Diffstat (limited to 'modules/mono/managed_callable.cpp')
-rw-r--r--modules/mono/managed_callable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/managed_callable.cpp b/modules/mono/managed_callable.cpp
index dfd78a8244..26347e9162 100644
--- a/modules/mono/managed_callable.cpp
+++ b/modules/mono/managed_callable.cpp
@@ -82,6 +82,7 @@ CallableCustom::CompareLessFunc ManagedCallable::get_compare_less_func() const {
}
ObjectID ManagedCallable::get_object() const {
+ // TODO: If the delegate target extends Godot.Object, use that instead!
return CSharpLanguage::get_singleton()->get_managed_callable_middleman()->get_instance_id();
}