--- deliantra/server/ext/ipo.ext 2008/04/22 02:46:18 1.13 +++ deliantra/server/ext/ipo.ext 2008/04/24 11:05:51 1.14 @@ -178,11 +178,13 @@ } if ($who->pay_amount ($pr->[0] * $price_fact)) { - if ($pr->[3] && not cf::player::exists $arguments) { - $who->reply ($npc, "Sorry, there is no '$arguments'"); - } else { - create_object ($pr->[1], $who->map, $x, $y, $pr->[2], $who->name, $arguments); - $who->reply ($npc, "Here is your $cmd"); + cf::async { + if ($pr->[3] && not cf::player::exists $arguments) { + $who->reply ($npc, "Sorry, there is no '$arguments'"); + } else { + create_object ($pr->[1], $who->map, $x, $y, $pr->[2], $who->name, $arguments); + $who->reply ($npc, "Here is your $cmd"); + } } } else { $who->reply ($npc, "Sorry, you don't have enough money.");