Fixed crash on destroying object
Merge branch 'master' of https://github.com/nicko-/logicbot