--- deliantra/server/ext/nimbus.ext 2007/01/13 23:06:13 1.8 +++ deliantra/server/ext/nimbus.ext 2007/08/20 22:21:48 1.11 @@ -1,4 +1,4 @@ -#! perl # MANDATORY +#! perl # mandatory # handle the nimbus map and other stuff @@ -106,15 +106,18 @@ my $map = $ob->map; $pl->savebed (@savebed); - $ob->goto (@savebed); - $map->nuke; + cf::async { + $ob->goto (@savebed); - $pl->play_sound_player_only (cf::SOUND_PLAYER_DIES); + $map->nuke; - $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"); + #$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; },