Mercurial > eagle-eye
diff agent.pl @ 275:c1333052a4ed
fixed a typo
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Tue, 02 Dec 2008 02:08:50 +0800 |
parents | c7f4a6f0fbde |
children | b2510d9339d8 |
line wrap: on
line diff
--- a/agent.pl Mon Dec 01 20:54:23 2008 +0800 +++ b/agent.pl Tue Dec 02 02:08:50 2008 +0800 @@ -70,7 +70,7 @@ sub is_safehouse_enough { my ($self, $city) = @_; return 0 if(!defined($city->{buildings}->{safehouse})); - return 1 if($$city->{buildings}->{townHall} >= 20); + return 1 if($city->{buildings}->{townHall} >= 20); # build the higgest safehouse. # maybe we should have more then 4 towns, then we consider that we should upgrade safehouse at level 20.