fix shocked door spraypaint error (#2700)

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas 2025-01-11 10:43:55 +00:00 committed by GitHub
parent 3270d4d2a1
commit 5069863d6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -81,10 +81,12 @@ public sealed class DoorSystem : SharedDoorSystem
{
Log.Error("Unable to load RSI '{0}'. Trace:\n{1}", baseRsi, Environment.StackTrace);
}
args.Sprite.BaseRSI = res?.RSI; // DeltaV
/* DeltaV: just set BaseRSI instead
foreach (var layer in args.Sprite.AllLayers)
{
layer.Rsi = res?.RSI;
}
}*/
}
TryComp<AnimationPlayerComponent>(uid, out var animPlayer);