--- deliantra/server/lib/cf.pm 2007/01/18 00:06:55 1.178 +++ deliantra/server/lib/cf.pm 2007/01/18 20:39:00 1.179 @@ -1830,6 +1830,8 @@ sub prepare_random_map { my ($exit) = @_; + my $guard = cf::lock_acquire "exit_prepare:$exit"; + # all this does is basically replace the /! path by # a new random map path (?random/...) with a seed # that depends on the exit object