Skip to content
This repository was archived by the owner on Oct 26, 2025. It is now read-only.

Commit cd83d8c

Browse files
Fix saving objects
1 parent 25a904e commit cd83d8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UnturnedMapMergeTool/Models/Contents/ObjectDataContent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public ObjectDataContent(byte saveDataVersion, CSteamID steamID, uint availableI
5050
public void SaveToFile(string fileNamePath)
5151
{
5252
River river = new(fileNamePath);
53-
river.writeByte(11);
53+
river.writeByte(SaveDataVersion);
5454
river.writeUInt32(AvailableInstanceId);
5555

5656
for (byte i = 0; i < Regions.WORLD_SIZE; i++)

UnturnedMapMergeTool/UnturnedMapMergeTool.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net6.0</TargetFramework>
6-
<Version>0.4.1</Version>
6+
<Version>0.4.2</Version>
77
</PropertyGroup>
88

99
<ItemGroup>

0 commit comments

Comments
 (0)