Cleanup
This commit is contained in:
@@ -62,7 +62,7 @@ updateLamp h i cr w
|
||||
& creatures . at cid .~ Nothing
|
||||
| otherwise = w
|
||||
& lightSources . ix i . lsParam . lsPos .~ addZ h cpos
|
||||
& creatures . ix cid %~ (snd . doDamage)
|
||||
& doDamage cr
|
||||
where
|
||||
cpos = _crPos cr
|
||||
cid = _crID cr
|
||||
|
||||
Reference in New Issue
Block a user