Fixed a bug with deducting AP (maybe).