diff warfare.pl @ 197:dbdd7dcc91c6

fixed for friendly troop and corruption
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Mon, 03 Nov 2008 03:17:43 +0800
parents 8afd380c20ac
children d9f17bcbf1f1
line wrap: on
line diff
--- a/warfare.pl	Mon Nov 03 02:00:29 2008 +0800
+++ b/warfare.pl	Mon Nov 03 03:17:43 2008 +0800
@@ -143,6 +143,7 @@
 $i->login;
 my $cities = $i->check;
 $i->checkMilitaryAdvisorCombatReports();
+$i->checkFriends();
 
 foreach my $cityId (keys(%$cities)) {
     print Dump($i->{'military'});