diff --git a/source/core/textures/buildtiles.cpp b/source/core/textures/buildtiles.cpp index b95cd0471..a73099e06 100644 --- a/source/core/textures/buildtiles.cpp +++ b/source/core/textures/buildtiles.cpp @@ -415,6 +415,7 @@ FGameTexture* BuildTiles::ValidateCustomTile(int tilenum, ReplacementType type) if (reptype == type) return tile; // already created if (reptype > ReplacementType::Art) return nullptr; // different custom type - cannot replace again. FTexture* replacement = nullptr; + td.replacement = type; if (type == ReplacementType::Writable) { // Creates an empty writable tile.