Small bug fix for stats

This commit is contained in:
Yord 2015-10-03 22:21:11 +02:00
parent 1eb7d38125
commit c8476ea568
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
# 2015-10-03 # 2015-10-03 v2
CACHE: CACHE:

View file

@ -4143,7 +4143,7 @@ var ikrpg = ikrpg || {};
character["s"+(index+1)]["sum"] = statValue + value; character["s"+(index+1)]["sum"] = statValue + value;
} }
} }
if(stats.length > 1) { if(stats && stats.length > 1) {
var stat = stats[1]; var stat = stats[1];
var lowerStat = stat.toLowerCase(); var lowerStat = stat.toLowerCase();
index += 1; index += 1;