--- deliantra/server/ext/dmcommands.ext 2007/01/01 16:50:09 1.4 +++ deliantra/server/ext/dmcommands.ext 2007/01/02 11:08:35 1.6 @@ -75,15 +75,15 @@ my $map = $ob->map; - cf::sync_job { - my @pl = $map->players; - - $_->enter_link for @pl; + my @pl = $map->players; + $_->enter_link for @pl; + Coro::async { + Coro::Timer::sleep 10; $map->reset; $_->leave_link for @pl; - }; - $ob->reply (undef, $map->{path}->as_string . " was reset."); + $ob->reply (undef, $map->{path}->as_string . " was reset."); + }; 1 };