fixes a bunch of warnings

This commit is contained in:
Paul
2021-12-20 13:58:30 +01:00
parent 21174366b7
commit d4d85b663f
68 changed files with 113 additions and 168 deletions

View File

@@ -39,7 +39,7 @@ namespace Content.Server.Storage.Components
var lockerEnt = _robustRandom.Pick(lockers);
if (lockerEnt == null) return; // No valid lockers anywhere.
if (!lockerEnt.Valid) return; // No valid lockers anywhere.
var locker = _entMan.GetComponent<EntityStorageComponent>(lockerEnt);