satisfy MonadFail
This commit is contained in:
parent
d7151cb11f
commit
daac9470e5
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ doorObjectAction dt t@ObjDoor s@"open" ent = do
|
|||
doorObjectAction _ _ _ _ = return ()
|
||||
|
||||
doorObjectTransition t@ObjDoor s _ ent (Just aent) = do
|
||||
[clearance] <- efor (anEnt aent) (query clearanceLvl)
|
||||
clearance <- head <$> efor (anEnt aent) (query clearanceLvl)
|
||||
e <- efor (anEnt ent) $ do
|
||||
dir <- query rot
|
||||
oclear <- query clearanceLvl
|
||||
|
|
Loading…
Reference in a new issue