Improve door pathing update
This commit is contained in:
@@ -40,6 +40,6 @@ triggerDoorRoom inplid = defaultRoom
|
||||
-- note no bounds
|
||||
}
|
||||
where
|
||||
f (pmnt:_) = putDoubleDoor (switchWallCol red) (cond pmnt) (V2 0 20) (V2 40 20) 2
|
||||
f (pmnt:_) = putDoubleDoor DoorObstacle (switchWallCol red) (cond pmnt) (V2 0 20) (V2 40 20) 2
|
||||
f _ = error "tried to put a door using an empty placement list"
|
||||
cond pmnt w = w & _triggers w IM.! fromJust (_plMID pmnt)
|
||||
|
||||
Reference in New Issue
Block a user