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.466 by root, Thu Jan 8 03:03:24 2009 UTC vs.
Revision 1.467 by root, Thu Jan 8 04:35:04 2009 UTC

145unless ($RUNTIME || !-e $RUNTIMEFILE) { 145unless ($RUNTIME || !-e $RUNTIMEFILE) {
146 open my $fh, "<", $RUNTIMEFILE 146 open my $fh, "<", $RUNTIMEFILE
147 or die "unable to read $RUNTIMEFILE file: $!"; 147 or die "unable to read $RUNTIMEFILE file: $!";
148 $RUNTIME = <$fh> + 0.; 148 $RUNTIME = <$fh> + 0.;
149} 149}
150
151eval "sub TICK() { $TICK } 1" or die;
150 152
151mkdir $_ 153mkdir $_
152 for $LOCALDIR, $TMPDIR, $UNIQUEDIR, $PLAYERDIR, $RANDOMDIR, $BDBDIR; 154 for $LOCALDIR, $TMPDIR, $UNIQUEDIR, $PLAYERDIR, $RANDOMDIR, $BDBDIR;
153 155
154our $EMERGENCY_POSITION; 156our $EMERGENCY_POSITION;
3925 LOG llevInfo, "[ABT] [suppressed]\n"; 3927 LOG llevInfo, "[ABT] [suppressed]\n";
3926 } 3928 }
3927} 3929}
3928 3930
3929# load additional modules 3931# load additional modules
3930eval "use cf::$_" for @EXTRA_MODULES; 3932require "cf/$_.pm" for @EXTRA_MODULES;
3931 3933
3932END { cf::emergency_save } 3934END { cf::emergency_save }
3933 3935
39341 39361
3935 3937

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines