Update NLog, change init order, fix block delete in UI, change config to JSON
This commit is contained in:
@@ -50,6 +50,12 @@ namespace Torch.Server.ViewModels.Blocks
|
||||
|
||||
public override bool CanStop => false;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Delete()
|
||||
{
|
||||
Block.CubeGrid.RazeBlock(Block.Position);
|
||||
}
|
||||
|
||||
public BlockViewModel(IMyTerminalBlock block, EntityTreeViewModel tree) : base(block, tree)
|
||||
{
|
||||
Block = block;
|
||||
|
Reference in New Issue
Block a user