(src, distance)
| 30 | |
| 31 | |
| 32 | def checkDroneControlRange(src, distance): |
| 33 | if distance is None: |
| 34 | return True |
| 35 | if GraphSettings.getInstance().get('ignoreDCR'): |
| 36 | return True |
| 37 | return distance <= src.item.extraAttributes['droneControlRange'] |
no test coverage detected