diff --git a/app/assets/javascripts/angular/resources/match.js b/app/assets/javascripts/angular/resources/match.js index 7d51600..2ae3c9f 100644 --- a/app/assets/javascripts/angular/resources/match.js +++ b/app/assets/javascripts/angular/resources/match.js @@ -518,6 +518,7 @@ gg.factory('Match', ['$ggResource', '$compile', 'Matchnote', function($ggResourc replayminerals: {teams: [], entities: []}, replaygas: {teams: [], entities: []}, replayworkers: {teams: [], entities: []}, + replayworkerscap: {teams: [], entities: []}, }; // Generate army chart series from armies? @@ -568,6 +569,14 @@ gg.factory('Match', ['$ggResource', '$compile', 'Matchnote', function($ggResourc // console.log("statarray", result); return result; } + + supply = function(supplyusage){ + var currentSupply = []; + for (var frame=0; frame workers active + + Supply + <% if @match.summaries? %>