--- deliantra/server/lib/cf.pm 2007/01/23 01:05:18 1.191 +++ deliantra/server/lib/cf.pm 2007/01/24 16:29:10 1.193 @@ -10,7 +10,7 @@ use Safe; use Safe::Hole; -use Coro 3.4 (); +use Coro 3.5 (); use Coro::Event; use Coro::Timer; use Coro::Signal; @@ -1178,6 +1178,8 @@ sub normalise { my ($path, $base) = @_; + $path = "$path"; # make sure its a string + # map plan: # # /! non-realised random map exit (special hack!) @@ -1223,7 +1225,7 @@ } } - Carp::carp "unable to resolve path '$path'."; + Carp::carp "unable to resolve path '$path' (base '$base')."; () } @@ -1367,8 +1369,7 @@ #$cf::WAIT_FOR_TICK->wait; $map->reset; undef $guard; - $map = find $path - or return; + return find $path; } $cf::MAP{$path} = $map