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.6 by root, Tue Jan 2 11:08:35 2007 UTC vs.
Revision 1.12 by root, Sat Jan 13 23:06:13 2007 UTC

75 75
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 Coro::async { 80 cf::async {
81 Coro::Timer::sleep 10; 81 my $name = $map->visible_name;
82
82 $map->reset; 83 $map->reset;
83 $_->leave_link for @pl; 84 $_->leave_link for @pl;
84 85
85 $ob->reply (undef, $map->{path}->as_string . " was reset."); 86 $ob->reply (undef, "$name was reset.");
86 }; 87 };
87 88
88 1 89 1
89}; 90};
90 91

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines