--- deliantra/server/ext/commands.ext 2007/03/02 12:14:57 1.28 +++ deliantra/server/ext/commands.ext 2007/03/02 14:24:53 1.30 @@ -118,7 +118,7 @@ cf::register_command mark => sub { my ($pl, $arg) = @_; - if (!$arg) { + unless (length $arg) { my $ob = $pl->find_marked_object; $pl->reply (undef, $ob @@ -130,7 +130,7 @@ return $pl->reply (undef, "Could not find an object that matches $arg") unless $ob; - $pl->contr->mark = $ob; + $pl->contr->mark ($ob); $pl->reply (undef, (sprintf "Marked item %s", $ob->name, $ob->title)); }