Fixed missing sprites

This commit is contained in:
Joshua Barretto 2021-08-03 01:44:09 +01:00
parent 771a380e6c
commit b32dcd5203

View File

@ -246,7 +246,7 @@ pub fn block_from_structure(
)),
StructureBlock::Normal(color) => Some(Block::new(BlockKind::Misc, color)),
StructureBlock::Filled(kind, color) => Some(Block::new(kind, color)),
StructureBlock::Sprite(kind) => Some(with_sprite(kind)),
StructureBlock::Sprite(kind) => Some(with_sprite(kind).into_vacant().with_sprite(kind)),
StructureBlock::Water => Some(Block::water(SpriteKind::Empty)),
// TODO: If/when liquid supports other colors again, revisit this.
StructureBlock::GreenSludge => Some(Block::water(SpriteKind::Empty)),