--- deliantra/server/ext/map-per-player.ext 2007/01/29 17:57:22 1.7 +++ deliantra/server/ext/map-per-player.ext 2007/04/18 17:32:06 1.8 @@ -22,14 +22,14 @@ sub load_path { my ($self) = @_; - sprintf "%s/%s/%s.map", cf::datadir, cf::mapdir, $self->{orig_path} + "$cf::MAPDIR/$self->{orig_path}" } sub save_path { my ($self) = @_; (my $path = $_[0]{orig_path}) =~ s/\//$PATH_SEP/g; - sprintf "%s/%s/%s/%s.map", cf::localdir, cf::playerdir, $self->{user}, $path + "$cf::PLAYERDIR/$self->{user}/$path" } sub uniq_path {