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

Comparing deliantra/server/ext/map-scheduler.ext (file contents):
Revision 1.49 by root, Fri Oct 23 03:08:34 2009 UTC vs.
Revision 1.50 by root, Fri Oct 23 03:28:11 2009 UTC

104 $SCHEDULER->prio (-2); 104 $SCHEDULER->prio (-2);
105}; 105};
106 106
107# purely for debugging, will load ALL maps 107# purely for debugging, will load ALL maps
108sub loadall { 108sub loadall {
109 my $maps = cf::map::static_maps;
110
111 for my $path (@$maps) {
112 my $map = cf::map::find $path
113 or warn "ERROR: unable to find map $path\n";
114 $map->load;
115 }
109} 116}
110 117
111 118

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines