Added default array for stat proficiencies as well

This commit is contained in:
Stefan Zermatten
2021-04-29 11:52:47 +02:00
parent 9aa8203dcc
commit 85b536bc46

View File

@@ -22,7 +22,7 @@ export default function computeStat(stat, memo){
stat.computationDetails.busyComputing = true;
let effects = stat.computationDetails.effects || [];
let proficiencies = stat.computationDetails.proficiencies;
let proficiencies = stat.computationDetails.proficiencies || [];
// Get references to all the stats that share the variable name
let sameNameStats