mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Make GasTileOverlaySystem slightly more resistant against non-existing grid entities.
This commit is contained in:
parent
48ed557962
commit
665928cfcf
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ namespace Content.Server.Atmos.EntitySystems
|
|||
|
||||
var gridEntityId = grid.GridEntityId;
|
||||
|
||||
if (!EntityManager.GetEntity(gridEntityId).TryGetComponent(out GridAtmosphereComponent? gam))
|
||||
if (!EntityManager.TryGetComponent(gridEntityId, out GridAtmosphereComponent? gam))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue