ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/map-tags.ext
(Generate patch)

Comparing deliantra/server/ext/map-tags.ext (file contents):
Revision 1.10 by root, Wed Nov 14 08:09:46 2007 UTC vs.
Revision 1.11 by root, Wed Nov 14 10:05:16 2007 UTC

172# } 172# }
173 173
174 warn sprintf "map-tag scan (%fs)", EV::time - $start; 174 warn sprintf "map-tag scan (%fs)", EV::time - $start;
175} 175}
176 176
177our $RELOAD_SCHEDULER = cf::periodic $SCHEDULE_INTERVAL, sub { 177our $RELOAD_SCHEDULER = cf::periodic $SCHEDULE_INTERVAL, Coro::unblock_sub {
178 cfd::async {
179 $Coro::current->prio (Coro::PRIO_MIN); 178 $Coro::current->prio (Coro::PRIO_MIN);
180 $Coro::current->desc ("map-tag scanner"); 179 $Coro::current->desc ("map-tag scanner");
181 reload; 180 reload;
182 };
183}; 181};
184 182
185# find all objects with the given tag, or at least try to 183# find all objects with the given tag, or at least try to
186sub find($) { 184sub find($) {
187 my ($tag) = @_; 185 my ($tag) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines