Power cells

This commit is contained in:
Pieter-Jan Briers
2018-09-21 08:21:40 +02:00
parent 952c58c226
commit c33daddda2
12 changed files with 349 additions and 100 deletions

View File

@@ -75,7 +75,7 @@ namespace Content.Server.GameObjects.Components.Power
}
}
if (attacked.TryGetComponent<PowerStorageComponent>(out var storage))
if (attacked.TryGetComponent<PowerStorageNetComponent>(out var storage))
{
var stateSeconds = (DateTime.Now - storage.LastChargeStateChange).TotalSeconds;
builder.AppendFormat(@"Power Storage: