Closed estin closed 3 years ago
Hi! This PR fixed panic by assert!(self.is_inboard(pos));
assert!(self.is_inboard(pos));
Case:
click out side of map
Solution: on out of board click - show cancelled message at agent pos
cancelled
Sorry for my poor English
Thanks for the PR but I think it's better to add the missing checks into MessageMap's methods, otherwise messages in other parts of the codebase may panic too. Closing in favor of #666
Hi! This PR fixed panic by
assert!(self.is_inboard(pos));
Case:
click out side of map
Solution: on out of board click - show
cancelled
message at agent posSorry for my poor English