… | |
… | |
149 | delete $dialog{$msg->{msgid}}; |
149 | delete $dialog{$msg->{msgid}}; |
150 | |
150 | |
151 | () |
151 | () |
152 | }; |
152 | }; |
153 | |
153 | |
154 | cf::attach_to_players |
154 | cf::player->attach ( |
155 | on_logout => sub { |
155 | on_logout => sub { |
156 | my ($pl) = @_; |
156 | my ($pl) = @_; |
157 | |
157 | |
158 | delete $dialog{$_} for grep $pl->ob == $dialog{$_}{ob}, keys %dialog; |
158 | delete $dialog{$_} for grep $pl->ob == $dialog{$_}{ob}, keys %dialog; |
159 | }, |
159 | }, |
160 | ; |
160 | ); |
161 | |
161 | |
162 | =item ... = extcmd editor_support |
162 | =item ... = extcmd editor_support |
163 | |
163 | |
164 | Returns the value required by clients that have an editor to download and |
164 | Returns the value required by clients that have an editor to download and |
165 | upload maps from/to the server. |
165 | upload maps from/to the server. |