Skip to content

Commit bb4d94c

Browse files
authored
Fix Glide Crash (#2387)
1 parent 545cd48 commit bb4d94c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenDreamClient/Rendering/AtomGlideSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public override void FrameUpdate(float frameTime) {
5252
for (int i = 0; i < _currentGlides.Count; i++) {
5353
var glide = _currentGlides[i];
5454

55-
if (glide.Sprite.Icon.Appearance == null) {
55+
if (_entityManager.Deleted(glide.Uid) || glide.Sprite.Icon.Appearance == null) {
5656
_currentGlides.RemoveSwap(i--);
5757
continue;
5858
}

0 commit comments

Comments
 (0)