… | … | ||
---|---|---|---|
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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |