Removed unneeded assignment to repeating fields that does not exist

This commit is contained in:
Peter Bjerg Mogensen
2020-09-02 08:40:23 +02:00
parent 47b002c327
commit 05fb9a77c9
-4
View File
@@ -16929,9 +16929,7 @@ on('change:repeating_spells68 remove:repeating_spells68', function(){
.fields('cast-value68','cast-max68')
.reduce(function(m,r){
m['cast-value68']+=(r.F['cast-value68']);
r['spell-power-integer2']=(r.F['cast-value68']);
m['cast-max68']+=(r.F['cast-max68']);
r['spell-power-sum2']=(r.F['cast-max68']);
return m;
},{['cast-value68']:0,['cast-max68']:0, desc: []},function(m,r,a){
@@ -16948,9 +16946,7 @@ on('change:repeating_spells69 remove:repeating_spells69', function(){
.fields('cast-value69','cast-max69')
.reduce(function(m,r){
m['cast-value69']+=(r.F['cast-value69']);
r['spell-power-integer3']=(r.F['cast-value69']);
m['cast-max69']+=(r.F['cast-max69']);
r['spell-power-sum3']=(r.F['cast-max69']);
return m;
},{['cast-value69']:0,['cast-max69']:0, desc: []},function(m,r,a){