SMES fix, AI's can now use them.

Thinking this was a typo, though quite honestly I'm not sure why this test
is even here as distance checks are built into nanoUI but since feradan put it in
I'm kinda not wanting to remove it.
Merge pull request #4317 from Ccomp5950/dev-freeze

SMES fix, AI's can now use them.