Make pow3r validation logic available on release (#36075)
I want to run this on live servers. It's behind a power_validate command, it still doesn't automatically get ran outside debug otherwise.
This commit is contained in:
committed by
GitHub
parent
9243d65e6f
commit
290bffceec
@@ -519,6 +519,14 @@ namespace Content.Server.Power.EntitySystems
|
||||
supplier.NetworkSupply.LinkedNetwork = netNode.Id;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Validate integrity of the power state data. Throws if an error is found.
|
||||
/// </summary>
|
||||
public void Validate()
|
||||
{
|
||||
_solver.Validate(_powerState);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user