ev3dev-python-tools / ev3dev2simulator

Simulator for an EV3 robot; a program using the ev3dev2 API can run both on the rover and on the simulator without any modifications to the code
MIT License
6 stars 9 forks source link

Fix crash when selecting or moving invalid objects #29

Closed ximinity closed 3 years ago

ximinity commented 3 years ago

This PR fixes #30.

NielsOkker commented 3 years ago

Looks like a good fix! I will check it locally. I'll try to replicate the issue and determine if your code fixes the bug.