Fix empty special traits on navigating back

The special traits list is set to empty on initialize,
which happens whenever navigating back to the main page,
but wasn't being regenerated when the rest of the character is.
Why this wasn't a problem before Gold, I don't know.
pull/27/head
Daniel Asher Resnick 4 months ago
parent 365616e365
commit 7f172dd74a
  1. 1
      src/public/js/burning.js

@ -301,6 +301,7 @@ function BurningCtrl($scope, $http, $modal, $timeout, settings, appropriateWeapo
if ( characterStorage.currentCharacter ){
//console.log("Loading current character");
loadCurrentCharacterFromStruct($scope, characterStorage.currentCharacter, burningData, appropriateWeapons);
calculateSpecialTraitsForDisplay($scope, burningData)
}
$scope.hashValues = hashValues;

Loading…
Cancel
Save