Fix warnings and code cleanup/fixes (#13570)
This commit is contained in:
@@ -102,7 +102,7 @@ public sealed partial class ShuttleSystem
|
||||
|
||||
foreach (var other in _mapManager.FindGridsIntersecting(xform.MapID, bounds))
|
||||
{
|
||||
if (((Component) grid).Owner == other.Owner ||
|
||||
if (grid.Owner == other.Owner ||
|
||||
!bodyQuery.TryGetComponent(other.Owner, out var body) ||
|
||||
body.Mass < ShuttleFTLMassThreshold) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user