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

Comparing deliantra/server/ext/map-random.ext (file contents):
Revision 1.27 by root, Sun May 4 19:50:13 2008 UTC vs.
Revision 1.28 by root, Tue May 6 16:39:28 2008 UTC

134 if ($map) { 134 if ($map) {
135 $map->load; 135 $map->load;
136 $map->deactivate; 136 $map->deactivate;
137 } 137 }
138 138
139 warn "return $dir,$name,$difficulty => $map\n" if $difficulty >= 0;#d# 139 #warn "return $dir,$name,$difficulty => $map\n" if $difficulty >= 0;#d#
140 $map 140 $map
141} 141}
142 142
143# clean up old temp maps regularly 143# clean up old temp maps regularly
144our $CLEAN_RANDOM_MAPS = cf::periodic 3600, Coro::unblock_sub { 144our $CLEAN_RANDOM_MAPS = cf::periodic 3600, Coro::unblock_sub {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines