More nesting of fields in CWorld
This commit is contained in:
@@ -459,7 +459,7 @@ withTempLight time rad col eff item cr =
|
||||
|
||||
modClock :: Int -> ChainEffect -> ChainEffect
|
||||
modClock n chainEff eff it cr w
|
||||
| _worldClock (_cWorld w) `mod` n == 0 = chainEff eff it cr w
|
||||
| (w ^. cWorld . cwTime . worldClock) `mod` n == 0 = chainEff eff it cr w
|
||||
| otherwise = eff it cr w
|
||||
|
||||
withMuzFlareI :: ChainEffect
|
||||
|
||||
Reference in New Issue
Block a user