fix shocked door spraypaint error (#2700)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
parent
3270d4d2a1
commit
5069863d6f
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue