Skip to content

Commit

Permalink
[Fix for Simitone] Neighborhood.iff will be destroyed. (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
simptomo authored and riperiperi committed Apr 16, 2019
1 parent ec8f2d3 commit ae84752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TSOClient/tso.files/Formats/IFF/Chunks/NGBH.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public override bool Write(IffFile iff, Stream stream)
io.WriteInt16(NeighborhoodData[i]);
}

io.WriteInt32(NeighborhoodData.Length);
io.WriteInt32(InventoryByID.Count);
foreach (var item in InventoryByID)
{
io.WriteInt32(1);
Expand Down

0 comments on commit ae84752

Please sign in to comment.