Commit before unifying positions
This commit is contained in:
@@ -115,6 +115,7 @@ addButtonSlowDoor x h rm = do
|
||||
belowH y = (sndV2 . fst) y < h - 40
|
||||
aboveH y = (sndV2 . fst) y > h + 40
|
||||
butDoor bpos brot = putLitButtonID col bpos brot
|
||||
--butDoor bpos brot = putLitButtonID' col (const True)
|
||||
$ \btid -> Just $ putDoubleDoor False col (cond' btid) (V2 0 h) (V2 x h) 2
|
||||
col = dim $ light red
|
||||
cond' btid w = w ^? buttons . ix btid . btState /= Just BtOff
|
||||
|
||||
Reference in New Issue
Block a user