Start implementing sticky grenades
This commit is contained in:
@@ -34,7 +34,7 @@ destroyLS lsid w =
|
||||
w
|
||||
& cWorld . lWorld . lightSources . at lsid .~ Nothing
|
||||
& destroyLSFlashAt p3
|
||||
& originsIDsAt [MaterialSound Glass n | n <- [0, 1, 2]] (destroyMatS Glass) (xyV3 p3)
|
||||
& soundOriginsIDsAt [MaterialSound Glass n | n <- [0, 1, 2]] (destroyMatS Glass) (xyV3 p3)
|
||||
where
|
||||
ls = w ^?! cWorld . lWorld . lightSources . ix lsid -- unsafe
|
||||
p3 = _lsPos $ _lsParam ls
|
||||
|
||||
Reference in New Issue
Block a user