Predict dumping (#32394)
* Predict dumping - This got soaped really fucking hard. - Dumping is predicted, this required disposals to be predicte.d - Disposals required mailing (because it's tightly coupled), and a smidge of other content systems. - I also had to fix a compnetworkgenerator issue at the same time so it wouldn't mispredict. * Fix a bunch of stuff * nasty merge * Some reviews * Some more reviews while I stash * Fix merge * Fix merge * Half of review * Review * re(h)f * lizards * feexes * feex
This commit is contained in:
@@ -62,8 +62,13 @@ public abstract class SharedPowerReceiverSystem : EntitySystem
|
||||
return !receiver.PowerDisabled; // i.e. PowerEnabled
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks if entity is APC-powered device, and if it have power.
|
||||
protected virtual void RaisePower(Entity<SharedApcPowerReceiverComponent> entity)
|
||||
{
|
||||
// NOOP on server because client has 0 idea of load so we can't raise it properly in shared.
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks if entity is APC-powered device, and if it have power.
|
||||
/// </summary>
|
||||
public bool IsPowered(Entity<SharedApcPowerReceiverComponent?> entity)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user