I found the bug you were having last night. Fixed it.
Merge branch 'master' of github.com:zinroc/zinrocfantasy