Add dust on bullet wall hit

This commit is contained in:
2021-09-13 12:23:51 +01:00
parent b27c174d93
commit 29f048cfdd
15 changed files with 93 additions and 68 deletions
+3 -3
View File
@@ -247,7 +247,7 @@ defaultTLS = TLS
, _tlsTime = 1
}
where
f w t
f _ t
| _tlsTime t <= 0
= (w, Nothing)
| otherwise = (w, Just $ t & tlsTime -~ 1)
= Nothing
| otherwise = Just $ t & tlsTime -~ 1