--- deliantra/Deliantra-Client/DC/Protocol.pm 2007/09/02 05:18:34 1.173 +++ deliantra/Deliantra-Client/DC/Protocol.pm 2007/12/22 06:50:37 1.179 @@ -21,7 +21,7 @@ setup_req => { extmap => 1, excmd => 1, - xwidget2 => 1,#d# + widget => 1, %{$arg{setup_req} || {}}, }, ); @@ -615,11 +615,10 @@ 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; + EV::once undef, 0, 0.03, sub { $self->{map_widget}->update if $self->{map_widget}; - }); + }; } else { $self->{map_widget}->update; } @@ -1305,8 +1304,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}"); }