Skip to content

Commit d9f8d9a

Browse files
author
Vyacheslav
committed
Fix seed id saving
1 parent d5cc852 commit d9f8d9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

VoxelGame_UnityProject/Assets/VoxelGame/Voxel/Scripts/VoxelSettingsSO.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ public void Init()
118118

119119
Voxels.Init(VoxelPresetSO.Voxels);
120120

121-
if (seed == -1)
122-
seed = Random.Range(0, 1000000);
121+
if (Seed == -1)
122+
Seed = Random.Range(0, 1000000);
123123
}
124124

125125
public void Load()

0 commit comments

Comments
 (0)