mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
more integration tweaks
This commit is contained in:
@ -311,9 +311,9 @@ namespace IW4MAdmin.Application
|
||||
}
|
||||
|
||||
// register any script plugins
|
||||
foreach (var func in pluginImporter.DiscoverScriptPlugins())
|
||||
foreach (var plugin in pluginImporter.DiscoverScriptPlugins())
|
||||
{
|
||||
serviceCollection.AddSingleton(sp => func(sp));
|
||||
serviceCollection.AddSingleton(plugin);
|
||||
}
|
||||
|
||||
// register any eventable types
|
||||
|
Reference in New Issue
Block a user