Skip to content

Commit

Permalink
fix (but not work)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietrek14 committed Mar 7, 2022
1 parent cfe9093 commit 94dc4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Resources/Scripts/TerrainSaveable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public override MemoryStream Save()
public override void Load(MemoryStream stream)
{
// Find tilemap.
GameObject terrain = GameObject.FindWithTag("Terrain");
GameObject terrain = GameObject.Find("Tilemap");

if(terrain == null)
return;
Expand Down

0 comments on commit 94dc4f6

Please sign in to comment.