--- deliantra/server/ext/nimbus.ext 2007/01/13 23:06:13 1.8 +++ deliantra/server/ext/nimbus.ext 2007/09/19 21:56:30 1.12 @@ -1,4 +1,4 @@ -#! perl # MANDATORY +#! perl # mandatory # handle the nimbus map and other stuff @@ -106,15 +106,19 @@ my $map = $ob->map; $pl->savebed (@savebed); - $ob->goto (@savebed); - $map->nuke; - - $pl->play_sound_player_only (cf::SOUND_PLAYER_DIES); - - $ob->message ("You feel as if you woke up from a dream.\n"); - $ob->message ("You have a headache.\n"); - $ob->message ("Maybe you should have a drink.\n"); + cf::async { + $Coro::current->{desc} = "nimbus exit"; + $ob->goto (@savebed); + + $map->nuke; + + #$pl->play_sound (cf::sound::find "player_dies"); + + $ob->message ("You feel as if you woke up from a dream.\n" + . "You have a headache.\n" + . "Maybe you should have a drink.\n"); + }; cf::override; },