Remove all obsolete BatteryComponent method calls (#25871)
Removed all obsolete, non-ECS method calls to BatteryComponent
This commit is contained in:
@@ -31,7 +31,7 @@ public sealed class BatterySensorSystem : EntitySystem
|
||||
{
|
||||
[DeviceNetworkConstants.Command] = DeviceNetworkCommandSyncData,
|
||||
[DeviceNetworkCommandSyncData] = new BatterySensorData(
|
||||
battery.Charge,
|
||||
battery.CurrentCharge,
|
||||
battery.MaxCharge,
|
||||
netBattery.CurrentReceiving,
|
||||
netBattery.MaxChargeRate,
|
||||
|
||||
Reference in New Issue
Block a user