Move towards introducing pipes, generalise blocks
This commit is contained in:
@@ -50,6 +50,7 @@ destroyBlock bl w = w
|
||||
& deleteWallIDs wlids
|
||||
& blocks %~ IM.delete (_blID bl)
|
||||
& matDesSound (_blMaterial bl) pos
|
||||
& _blDeath bl bl
|
||||
& flip (foldr (wlDustAt awl)) (map (pos +.+) ps)
|
||||
where
|
||||
wlids = _blWallIDs bl
|
||||
|
||||
Reference in New Issue
Block a user