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.1 by root, Mon Jan 1 11:21:54 2007 UTC vs.
Revision 1.2 by root, Mon Jan 1 12:28:46 2007 UTC

17 while () { 17 while () {
18 Coro::Timer::sleep $SCHEDULE_INTERVAL; 18 Coro::Timer::sleep $SCHEDULE_INTERVAL;
19 19
20 for my $map (values %cf::MAP) { 20 for my $map (values %cf::MAP) {
21 eval { 21 eval {
22 next if $map->in_memory != cf::MAP_IN_MEMORY;
23 next if $map->players; 22 next if $map->players;
24 my $last_access = $map->last_access; 23 my $last_access = $map->last_access;
25 # not yet, because maps might become visible to players nearby 24 # not yet, because maps might become visible to players nearby
26 # we need a tiled meta map for this to work 25 # we need a tiled meta map for this to work
27# if ($last_access + $DEACTIVATE_TIMEOUT <= $cf::RUNTIME) { 26# if ($last_access + $DEACTIVATE_TIMEOUT <= $cf::RUNTIME) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines