ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/dmcommands.ext
(Generate patch)

Comparing deliantra/server/ext/dmcommands.ext (file contents):
Revision 1.14 by pippijn, Wed Feb 28 16:38:56 2007 UTC vs.
Revision 1.15 by pippijn, Thu Mar 1 20:17:01 2007 UTC

18 my ($ob, $arg) = @_; 18 my ($ob, $arg) = @_;
19 19
20 return unless $ob->may ("command_teleport"); 20 return unless $ob->may ("command_teleport");
21 21
22 cf::async { 22 cf::async {
23 my $other = cf::player::find $arg 23 my $other = cf::player::find_active $arg
24 or return $ob->reply (undef, "$arg: no such player."); 24 or return $ob->reply (undef, "$arg: no such player.");
25 25
26 $ob->goto ($other->maplevel, $other->ob->x, $other->ob->y); 26 $ob->goto ($other->maplevel, $other->ob->x, $other->ob->y);
27 }; 27 };
28 28

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines