… | |
… | |
405 | if ($_[0] !~ /^[yY]/) { |
405 | if ($_[0] !~ /^[yY]/) { |
406 | $ob->send_msg (undef, "Ok, not not quitting then.", cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY); |
406 | $ob->send_msg (undef, "Ok, not not quitting then.", cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY); |
407 | } else { |
407 | } else { |
408 | $ob->send_msg (undef, "Ok, quitting, hope to see you again.", cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY); |
408 | $ob->send_msg (undef, "Ok, quitting, hope to see you again.", cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY); |
409 | $pl->ns->flush; |
409 | $pl->ns->flush; |
|
|
410 | cf::async { |
|
|
411 | ext::highscore::check $pl->ob; |
410 | cf::async { $pl->quit_character }; |
412 | $pl->quit_character; |
|
|
413 | }; |
411 | } |
414 | } |
412 | }); |
415 | }); |
413 | }; |
416 | }; |
414 | |
417 | |
415 | cf::object->attach ( |
418 | cf::object->attach ( |