Fix Illusion bug Mark II

More efficient coding
Merge pull request #738 from sirDonovan/patch-1

Fix Illusion bug Mark II