From 88b2728a7cf64da496964064b82ece40a68c1ce8 Mon Sep 17 00:00:00 2001 From: Darin McBride Date: Mon, 5 Oct 2015 22:30:54 -0600 Subject: [PATCH] Effective level could be calculated too high. Also UI changes. --- lib/Lacuna/DB/Result/Building.pm | 2 +- var/www/public/changes.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/Lacuna/DB/Result/Building.pm b/lib/Lacuna/DB/Result/Building.pm index 4c0e4248..1824f47e 100755 --- a/lib/Lacuna/DB/Result/Building.pm +++ b/lib/Lacuna/DB/Result/Building.pm @@ -142,7 +142,7 @@ has effective_level => ( sub _build_effective_level { my $self = shift; - my $uni_prod = ($self->body->empire) ? $self->body->empire->university_level + 1 : 1; + my $uni_prod = ($self->body->empire) ? $self->body->empire->university_level : 1; my $real_level = $self->level; # take whichever one is lower. my $eff_level = min($uni_prod + 1, $real_level); diff --git a/var/www/public/changes.txt b/var/www/public/changes.txt index e4a913d8..303488c3 100644 --- a/var/www/public/changes.txt +++ b/var/www/public/changes.txt @@ -1,3 +1,7 @@ +3.0914: + - UI : Evein draining re-added. + - Fix: Effective level could be too high. + 3.0913: - Add: Insurrect Value & SRCS happiness cost added to PCC output. - UI : Fix screen scrolling. -- 2.51.2