Skip to content

Commit

Permalink
fix tgi on file mapped resources
Browse files Browse the repository at this point in the history
  • Loading branch information
LazyDuchess committed Jun 28, 2024
1 parent e83c34b commit 02ff168
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Scripts/OpenTS2/Content/ContentManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ AbstractAsset InternalLoadAsset(CacheKey key)
var codec = Codecs.Get(key.TGI.TypeID);
var fileBytes = File.ReadAllBytes(result);
var asset = codec.Deserialize(fileBytes, key.TGI, null);
asset.TGI = key.TGI;
return asset;
}
}
Expand Down

0 comments on commit 02ff168

Please sign in to comment.