Mercurial > eagle-eye
changeset 254:1e4922d9a671
fixed for saving island data.
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Mon, 17 Nov 2008 13:01:10 +0800 |
parents | 9fe03a3d155c |
children | b01560b95779 |
files | scan.pl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scan.pl Mon Nov 17 13:00:40 2008 +0800 +++ b/scan.pl Mon Nov 17 13:01:10 2008 +0800 @@ -127,11 +127,11 @@ my $i = $self->{ikariam}->clone(); my @cities = $i->viewIsland($h_island->{id}); - $self->saveCities($h_island->{id}, @cities); - $island->set('time', time); } $island->update(); + + $self->saveCities($h_island->{id}, @cities); $pm->finish; } $pm->wait_all_children;