ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Protocol.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Protocol.pm (file contents):
Revision 1.177 by root, Sat Nov 3 12:08:44 2007 UTC vs.
Revision 1.178 by root, Mon Nov 12 23:25:37 2007 UTC

613 } 613 }
614 } 614 }
615 615
616 if ($delay) { 616 if ($delay) {
617 # delay the map drawing a tiny bit in the hope of getting the missing fetched 617 # delay the map drawing a tiny bit in the hope of getting the missing fetched
618 Event->timer (after => 0.03, cb => sub { 618 my $delay_draw; $delay_draw = EV::timer 0.03, 0, sub {
619 $_[0]->w->cancel; 619 undef $delay_draw;
620 $self->{map_widget}->update 620 $self->{map_widget}->update
621 if $self->{map_widget}; 621 if $self->{map_widget};
622 }); 622 };
623 } else { 623 } else {
624 $self->{map_widget}->update; 624 $self->{map_widget}->update;
625 } 625 }
626} 626}
627 627

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines