Maybe fix a weird debugging crash?

This commit is contained in:
Ottermandias 2022-05-11 20:57:52 +02:00
parent d8e3eafa7d
commit 0b9a48a485

View file

@ -47,7 +47,7 @@ public unsafe partial class ResourceLoader
private void AddModifiedDebugInfo( Structs.ResourceHandle* handle, Utf8GamePath originalPath, FullPath? manipulatedPath, private void AddModifiedDebugInfo( Structs.ResourceHandle* handle, Utf8GamePath originalPath, FullPath? manipulatedPath,
object? resolverInfo ) object? resolverInfo )
{ {
if( manipulatedPath == null ) if( manipulatedPath == null || manipulatedPath.Value.Crc64 == 0 )
{ {
return; return;
} }