Reify debug booleans
This commit is contained in:
@@ -79,7 +79,7 @@ basicCrShape cr
|
||||
|
||||
creatureDisplayText :: Configuration -> World -> Creature -> Picture
|
||||
creatureDisplayText cfig w cr
|
||||
| not (_debug_cr_awareness cfig) = []
|
||||
| not (debugOn Cr_awareness cfig) = []
|
||||
| otherwise
|
||||
= setLayer DebugLayer
|
||||
. setDepth 20
|
||||
|
||||
Reference in New Issue
Block a user