mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 06:27:19 +01:00
Fixes bridge dll reflection
This commit is contained in:
@@ -542,7 +542,7 @@ namespace TGS.Server
|
||||
try
|
||||
{
|
||||
//Use reflection to ensure these are the droids we're looking for
|
||||
Assembly.ReflectionOnlyLoadFrom(BridgePath).GetType(DreamDaemonBridgeType, true);
|
||||
Assembly.ReflectionOnlyLoadFrom(BridgePath).GetType(String.Format("{0}.{1}.{2}.{3}", nameof(TGS), nameof(Interface), DreamDaemonBridgeNamespace, DreamDaemonBridgeType), true);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
@@ -56,11 +56,11 @@ namespace TGS.Server
|
||||
/// <summary>
|
||||
/// The namespace that contains the <see cref="ITGInterop"/> bridge class. Used for reflection
|
||||
/// </summary>
|
||||
const string DreamDaemonBridgeNamespace = "TGDreamDaemonBridge";
|
||||
const string DreamDaemonBridgeNamespace = "Bridge";
|
||||
/// <summary>
|
||||
/// The <see cref="ITGInterop"/> bridge class. Used for reflection
|
||||
/// </summary>
|
||||
const string DreamDaemonBridgeType = DreamDaemonBridgeNamespace + ".DreamDaemonBridge";
|
||||
const string DreamDaemonBridgeType = "DreamDaemonBridge";
|
||||
|
||||
List<Command> ServerChatCommands;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user