Make block damages slightly more logical
This commit is contained in:
@@ -13,4 +13,4 @@ updateWallDamages w = w
|
||||
where
|
||||
f k dams w' = fromMaybe w' $ do
|
||||
wl <- w' ^? walls . ix k
|
||||
return $ foldr (flip damageWall wl) w' dams
|
||||
return $ foldr (`damageWall` wl) w' dams
|
||||
|
||||
Reference in New Issue
Block a user