probably fix #1. Please report back if it works.

This commit is contained in:
Stefan Breunig
2013-02-07 16:25:06 +01:00
parent 5a022699ae
commit db51dbbc60
2 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ window.setupMap = function() {
window.setupPlayerStat = function() {
var level;
var ap = parseInt(PLAYER.ap);
for(level = 0; level < 7; level++) {
for(level = 0; level < MIN_AP_FOR_LEVEL.length; level++) {
if(ap < MIN_AP_FOR_LEVEL[level]) break;
}