Skip to content

Commit 5fa69b3

Browse files
authored
Merge pull request #1082 from Arctis-Fireblight/4.3-Fix-DotNet-Assemblies
[4.3] Fix: Updated version specific strings to reference RedotSharp
2 parents 093582e + f74a0b3 commit 5fa69b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ internal static void SetGodotObjectPtr(IntPtr gcHandlePtr, IntPtr newPtr)
325325
if (wrapperType == null)
326326
{
327327
var editorAssembly = AppDomain.CurrentDomain.GetAssemblies()
328-
.FirstOrDefault(a => a.GetName().Name == "GodotSharpEditor");
328+
.FirstOrDefault(a => a.GetName().Name == "RedotSharpEditor");
329329

330330
if (editorAssembly != null)
331331
{

modules/mono/glue/GodotSharp/GodotSharp/Core/GodotObject.base.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ internal static Type InternalGetClassNativeBase(Type t)
183183
{
184184
var name = t.Assembly.GetName().Name;
185185

186-
if (name == "GodotSharp" || name == "GodotSharpEditor")
186+
if (name == "RedotSharp" || name == "RedotSharpEditor")
187187
return t;
188188

189189
Debug.Assert(t.BaseType is not null, "Script types must derive from a native Redot type.");

0 commit comments

Comments
 (0)