Use common traits from stock object

pull/8/head
Daniel Asher Resnick 2 years ago
parent 19e2ba9657
commit 0d92d0beb2
  1. 2
      src/public/js/burning.js

@ -2316,7 +2316,7 @@ function setCommonTraits($scope, burningData){
if( $scope.selectedLifepaths.length == 0 ) if( $scope.selectedLifepaths.length == 0 )
return; return;
var common = $scope.selectedLifepaths[0].commonTraits; var common = burningData.stock_objs[$scope.stock].common_traits;
if(common.length > 0){ if(common.length > 0){
for(var j = 0; j < common.length; j++){ for(var j = 0; j < common.length; j++){
var name = common[j]; var name = common[j];

Loading…
Cancel
Save