--- deliantra/server/lib/cf.pm 2007/01/08 14:11:05 1.149 +++ deliantra/server/lib/cf.pm 2007/01/08 19:25:53 1.150 @@ -1168,12 +1168,10 @@ my $path = playerdir $pl; my $temp = "$path~$cf::RUNTIME~deleting~"; - IO::AIO::aio_rename $path, $temp, sub { - delete $cf::PLAYER{$pl->ob->name}; - $pl->destroy; - - IO::AIO::aio_rmtree $temp; - }; + Coro::AIO::aio_rename $path, $temp; + delete $cf::PLAYER{$pl->ob->name}; + $pl->destroy; + IO::AIO::aio_rmtree $temp; } =item $player->ext_reply ($msgid, $msgtype, %msg)