… | … | ||
---|---|---|---|
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 | Coro::async { |
81 | Coro::Timer::sleep 10; | ||
82 | $map->reset; | 81 | $map->reset; |
83 | $_->leave_link for @pl; | 82 | $_->leave_link for @pl; |
84 | 83 | ||
85 | $ob->reply (undef, $map->{path}->as_string . " was reset."); | 84 | $ob->reply (undef, $map->{path}->as_string . " was reset."); |
86 | }; | 85 | }; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |