--- deliantra/server/ext/dmcommands.ext 2007/01/01 16:50:09 1.4 +++ deliantra/server/ext/dmcommands.ext 2007/01/05 17:07:17 1.10 @@ -75,15 +75,16 @@ my $map = $ob->map; - cf::sync_job { - my @pl = $map->players; + my @pl = $map->players; + $_->enter_link for @pl; + Coro::async_pool { + my $name = $map->{path}->as_string; - $_->enter_link for @pl; $map->reset; $_->leave_link for @pl; - }; - $ob->reply (undef, $map->{path}->as_string . " was reset."); + $ob->reply (undef, "$name was reset."); + }; 1 };