--- deliantra/server/ext/map-tags.ext 2007/11/14 08:09:46 1.10 +++ deliantra/server/ext/map-tags.ext 2007/11/14 10:05:16 1.11 @@ -174,12 +174,10 @@ warn sprintf "map-tag scan (%fs)", EV::time - $start; } -our $RELOAD_SCHEDULER = cf::periodic $SCHEDULE_INTERVAL, sub { - cfd::async { - $Coro::current->prio (Coro::PRIO_MIN); - $Coro::current->desc ("map-tag scanner"); - reload; - }; +our $RELOAD_SCHEDULER = cf::periodic $SCHEDULE_INTERVAL, Coro::unblock_sub { + $Coro::current->prio (Coro::PRIO_MIN); + $Coro::current->desc ("map-tag scanner"); + reload; }; # find all objects with the given tag, or at least try to