… | … | ||
---|---|---|---|
43 | 43 | ||
44 | cf::object::attachment town_portal => | 44 | cf::object::attachment town_portal => |
45 | on_apply => sub { | 45 | on_apply => sub { |
46 | my ($self, $who) = @_; | 46 | my ($self, $who) = @_; |
47 | 47 | ||
48 | $who->{town_portal} = ["$who->map", $who->x, $who->y, $self->uuid]; | 48 | $who->{town_portal} = [$who->map->as_string, $who->x, $who->y, $self->uuid]; |
49 | }, | 49 | }, |
50 | ; | 50 | ; |
51 | 51 | ||
52 | cf::object::attachment town_portal_return => | 52 | cf::object::attachment town_portal_return => |
53 | on_apply => sub { | 53 | on_apply => sub { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |