fix nullptr exception when clicking OOB
Merge branch 'master' of https://github.com/cjeffery/sworsorc