… | … | ||
---|---|---|---|
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", $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 { |
… | … | ||
78 | } | 78 | } |
79 | 79 | ||
80 | cf::override 1; | 80 | cf::override 1; |
81 | }, | 81 | }, |
82 | ; | 82 | ; |
83 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |