Refactor stuff, clean up managers
This commit is contained in:
@@ -47,6 +47,9 @@ namespace Torch.Server.ViewModels.Blocks
|
||||
public BlockViewModel(IMyTerminalBlock block, EntityTreeViewModel tree) : base(block, tree)
|
||||
{
|
||||
Block = block;
|
||||
if (Block == null)
|
||||
return;
|
||||
|
||||
var propList = new List<ITerminalProperty>();
|
||||
block.GetProperties(propList);
|
||||
foreach (var prop in propList)
|
||||
|
Reference in New Issue
Block a user