mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Add error log to SpriteSpecifierExt.Frame0.
This commit is contained in:
@@ -4,6 +4,7 @@ using Robust.Client.Graphics;
|
||||
using Robust.Client.Interfaces.ResourceManagement;
|
||||
using Robust.Client.ResourceManagement;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Log;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Robust.Client.Utility
|
||||
@@ -26,6 +27,7 @@ namespace Robust.Client.Utility
|
||||
return state.Frame0;
|
||||
}
|
||||
}
|
||||
Logger.Error("Failed to load RSI {0}", rsi.RsiPath);
|
||||
return resc.GetFallback<TextureResource>();
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user