Fix #26, remove bot stuck in a loop

-Bot was getting the tile type instead of gfx.
-Fixes #26

Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>