--- deliantra/server/ext/help.ext 2008/09/22 01:33:09 1.14 +++ deliantra/server/ext/help.ext 2008/09/23 04:29:11 1.15 @@ -34,6 +34,10 @@ } sub reload() { + my $guard = cf::lock_acquire "ext::help::loading"; + + local $Coro::current->{desc} = "help loader"; + $TOPIC = { (load_topics "DM Commands" => "dmcommand_help"), (load_topics "Emotes" => "emote_help"), @@ -44,13 +48,8 @@ () } -cf::sync_job { - my $guard = cf::lock_acquire "ext::help::loading"; - cf::async_ext { - $Coro::current->{desc} = "help loader"; - reload; - undef $guard; - }; +cf::post_init { + reload; }; # for lack of a better place: "media tags"