--- deliantra/server/ext/nimbus.ext 2007/01/13 23:06:13 1.8 +++ deliantra/server/ext/nimbus.ext 2007/06/11 21:38:13 1.10 @@ -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_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::override; },