… | |
… | |
1387 | ############################################################################# |
1387 | ############################################################################# |
1388 | |
1388 | |
1389 | $SIG{INT} = $SIG{TERM} = sub { exit }; |
1389 | $SIG{INT} = $SIG{TERM} = sub { exit }; |
1390 | |
1390 | |
1391 | { |
1391 | { |
1392 | local $SIG{__DIE__} = sub { CFClient::fatal $_[0] }; |
1392 | local $SIG{__DIE__} = sub { CFClient::fatal $_[0] if defined $^S && !$^S }; |
1393 | |
1393 | |
1394 | CFClient::read_cfg "$Crossfire::VARDIR/cfplusrc"; |
1394 | CFClient::read_cfg "$Crossfire::VARDIR/cfplusrc"; |
1395 | CFClient::UI::set_layout ($::CFG->{layout}); |
1395 | CFClient::UI::set_layout ($::CFG->{layout}); |
1396 | |
1396 | |
1397 | my %DEF_CFG = ( |
1397 | my %DEF_CFG = ( |