ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.122 by root, Tue Jan 2 17:32:24 2007 UTC vs.
Revision 1.125 by root, Tue Jan 2 23:06:39 2007 UTC

1219 $map->{last_save} = $cf::RUNTIME; 1219 $map->{last_save} = $cf::RUNTIME;
1220 $map->last_access ($cf::RUNTIME); 1220 $map->last_access ($cf::RUNTIME);
1221 1221
1222 if ($map->should_reset) { 1222 if ($map->should_reset) {
1223 $map->reset; 1223 $map->reset;
1224 undef $guard;
1224 $map = find_map $path; 1225 $map = cf::map::find_map ($path)
1226 or return;
1225 } 1227 }
1226 1228
1227 $cf::MAP{$key} = $map 1229 $cf::MAP{$key} = $map
1228 } 1230 }
1229} 1231}
2189 or warn "ERROR: unable to write runtime file: $!"; 2191 or warn "ERROR: unable to write runtime file: $!";
2190 })->(); 2192 })->();
2191 }, 2193 },
2192); 2194);
2193 2195
2196END { cf::emergency_save }
2197
21941 21981
2195 2199

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines