Content PR for YAML hot reloading (#3319)
* Content PR for YAML hot reloading * Add CanAdminReloadPrototypes (host permission) * IndexedPrototype fixes
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Content.Shared.Chemistry
|
||||
/// Prototype for chemical reaction definitions
|
||||
/// </summary>
|
||||
[Prototype("reaction")]
|
||||
public class ReactionPrototype : IPrototype, IIndexedPrototype
|
||||
public class ReactionPrototype : IPrototype
|
||||
{
|
||||
private string _id = default!;
|
||||
private string _name = default!;
|
||||
|
||||
@@ -15,7 +15,7 @@ using YamlDotNet.RepresentationModel;
|
||||
namespace Content.Shared.Chemistry
|
||||
{
|
||||
[Prototype("reagent")]
|
||||
public class ReagentPrototype : IPrototype, IIndexedPrototype
|
||||
public class ReagentPrototype : IPrototype
|
||||
{
|
||||
[Dependency] private readonly IModuleManager _moduleManager = default!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user