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.8 by root, Wed Jan 3 00:05:26 2007 UTC vs.
Revision 1.9 by root, Thu Jan 4 20:29:46 2007 UTC

76 my $map = $ob->map; 76 my $map = $ob->map;
77 77
78 my @pl = $map->players; 78 my @pl = $map->players;
79 $_->enter_link for @pl; 79 $_->enter_link for @pl;
80 cf::async { 80 cf::async {
81 my $name = $map->{path}->as_string;
82
81 $map->reset; 83 $map->reset;
82 $_->leave_link for @pl; 84 $_->leave_link for @pl;
83 85
84 $ob->reply (undef, $map->{path}->as_string . " was reset."); 86 $ob->reply (undef, "$name was reset.");
85 }; 87 };
86 88
87 1 89 1
88}; 90};
89 91

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines