Remove AllComponentsOneEntityDeleteTest (#19965)

* Remove AllComponentsOneEntityDeleteTest

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
This commit is contained in:
Leon Friedrich
2023-09-10 12:35:05 +12:00
committed by GitHub
parent 41b0b0ac64
commit 2d71eec6f9
10 changed files with 13 additions and 144 deletions

View File

@@ -172,10 +172,8 @@ namespace Content.Server.Solar.EntitySystems
SolarPanelComponent? solar = null,
PowerSupplierComponent? supplier = null)
{
if (!Resolve(uid, ref solar, ref supplier))
{
if (!Resolve(uid, ref solar, ref supplier, false))
return;
}
supplier.MaxSupply = (int) (solar.MaxSupply * solar.Coverage);
}