From d1eca924d8078b0ed9f58cb59c376ee57d0dd6e9 Mon Sep 17 00:00:00 2001 From: Daniel Asher Resnick Date: Wed, 28 Dec 2022 00:38:31 -0600 Subject: [PATCH] Use common traits from stock object --- src/public/js/burning.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/js/burning.js b/src/public/js/burning.js index d7dc362..9ac2a50 100644 --- a/src/public/js/burning.js +++ b/src/public/js/burning.js @@ -2316,7 +2316,7 @@ function setCommonTraits($scope, burningData){ if( $scope.selectedLifepaths.length == 0 ) return; - var common = $scope.selectedLifepaths[0].commonTraits; + var common = burningData.stock_objs[$scope.stock].common_traits; if(common.length > 0){ for(var j = 0; j < common.length; j++){ var name = common[j];