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

Comparing deliantra/server/ext/map-per-player.ext (file contents):
Revision 1.8 by root, Wed Apr 18 17:32:06 2007 UTC vs.
Revision 1.9 by root, Thu Apr 19 11:12:45 2007 UTC

20} 20}
21 21
22sub load_path { 22sub load_path {
23 my ($self) = @_; 23 my ($self) = @_;
24 24
25 "$cf::MAPDIR/$self->{orig_path}" 25 "$cf::MAPDIR/$self->{orig_path}.map"
26} 26}
27 27
28sub save_path { 28sub save_path {
29 my ($self) = @_; 29 my ($self) = @_;
30 30
31 (my $path = $_[0]{orig_path}) =~ s/\//$PATH_SEP/g; 31 (my $path = $_[0]{orig_path}) =~ s/\//$PATH_SEP/g;
32 "$cf::PLAYERDIR/$self->{user}/$path" 32 "$cf::PLAYERDIR/$self->{user}/$path.map"
33} 33}
34 34
35sub uniq_path { 35sub uniq_path {
36 undef 36 undef
37} 37}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines