--- deliantra/server/ext/login.ext 2007/01/08 01:19:03 1.14 +++ deliantra/server/ext/login.ext 2007/01/08 12:39:16 1.16 @@ -294,7 +294,7 @@ return cf::override 0 unless $ob->type == cf::PLAYER; - my $pl = $ob->pl; + my $pl = $ob->contr; # update respawn position $pl->savebed ($bed->map->path, $bed->x, $bed->y); @@ -331,6 +331,7 @@ $_->ob->message ("$name left the game.", cf::NDI_DK_ORANGE | cf::NDI_UNIQUE) for cf::player::list; } else { $_->ob->message ("$name uncerimoniously disconnected.", cf::NDI_DK_ORANGE | cf::NDI_UNIQUE) for cf::player::list; + delete $pl->{clean_save}; } }, ); @@ -380,7 +381,5 @@ } }; -cf::player::find "schmorp";#d# - $SCHEDULER->prio (1);