--- deliantra/Deliantra-Client/DC/Protocol.pm 2007/09/02 05:18:34 1.173 +++ deliantra/Deliantra-Client/DC/Protocol.pm 2007/11/12 23:25:37 1.178 @@ -21,7 +21,7 @@ setup_req => { extmap => 1, excmd => 1, - xwidget2 => 1,#d# + widget => 1, %{$arg{setup_req} || {}}, }, ); @@ -615,11 +615,11 @@ if ($delay) { # delay the map drawing a tiny bit in the hope of getting the missing fetched - Event->timer (after => 0.03, cb => sub { - $_[0]->w->cancel; + my $delay_draw; $delay_draw = EV::timer 0.03, 0, sub { + undef $delay_draw; $self->{map_widget}->update if $self->{map_widget}; - }); + }; } else { $self->{map_widget}->update; } @@ -1305,8 +1305,6 @@ $self->update_server_info; - $self->send_command ("output-sync $::CFG->{output_sync}"); - $self->send_command ("output-count $::CFG->{output_count}"); $self->send_command ("output-rate $::CFG->{output_rate}") if $::CFG->{output_rate} > 0; $self->send_command ("pickup $::CFG->{pickup}"); }