From 94dc4f638bf0a01d25f1ba6382a839e9cd3ec2b4 Mon Sep 17 00:00:00 2001 From: Pietrek14 Date: Mon, 7 Mar 2022 20:40:00 +0100 Subject: [PATCH] fix (but not work) --- Assets/Resources/Scripts/TerrainSaveable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Resources/Scripts/TerrainSaveable.cs b/Assets/Resources/Scripts/TerrainSaveable.cs index 5a9b876..4d45b85 100644 --- a/Assets/Resources/Scripts/TerrainSaveable.cs +++ b/Assets/Resources/Scripts/TerrainSaveable.cs @@ -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;