From c9e113e3129cb240f8697c36ff7c5e9794409fcd Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 28 Apr 2015 14:08:07 -0400 Subject: [PATCH] Add user_attacks to soldiers_killed --- app.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app.rb b/app.rb index a46fd2d..bb51501 100644 --- a/app.rb +++ b/app.rb @@ -41,6 +41,7 @@ get '/bossfight' do @kill_user = first_negative ? first_negative.attacker : 'UNKILLED' @soldiers_killed = user_defenses.soldiers_lost_to_date(@kill_date) + @soldiers_killed += user_attacks.soldiers_lost_to_date(@kill_date) @contributor_attacks = user_defenses.contributor_attacks(@kill_date) @contributor_soldiers = user_defenses.contributor_soldiers(@kill_date)