ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC.pm (file contents):
Revision 1.177 by root, Sun Mar 30 04:59:41 2008 UTC vs.
Revision 1.178 by root, Sun Mar 30 06:05:52 2008 UTC

15package DC; 15package DC;
16 16
17use Carp (); 17use Carp ();
18 18
19BEGIN { 19BEGIN {
20 $VERSION = '0.9969'; 20 $VERSION = '0.9970';
21 21
22 use XSLoader; 22 use XSLoader;
23 XSLoader::load "Deliantra::Client", $VERSION; 23 XSLoader::load "Deliantra::Client", $VERSION;
24} 24}
25 25
164 164
165 $::CFG = decode_json $CFG; 165 $::CFG = decode_json $CFG;
166} 166}
167 167
168sub write_cfg { 168sub write_cfg {
169 my ($file) = @_; 169 my $file = "$Deliantra::VARDIR/client.cf";
170 170
171 $::CFG->{VERSION} = $::VERSION; 171 $::CFG->{VERSION} = $::VERSION;
172 172
173 open my $fh, ">:utf8", $file 173 open my $fh, ">:utf8", $file
174 or return; 174 or return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines