Move ItemSpawn from Aerobatics to main Objects.

liquid_container
Sven Eberhardt 2016-02-07 10:43:07 -05:00
parent 28ffc3d3b1
commit 79897ce777
2 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public func FxProcessSpawnTimer(object target, proplist effect, int time)
effect.spawn_list[plrid] = {};
if (!effect.spawn_list[plrid].item)
{
if (crew->ContentsCount() < crew.MaxContentsCount || (effect.spawn_id->~IsCarryHeavy() && !crew->IsCarryingHeavy()))
if (crew->ContentsCount() < crew.MaxContentsCount || (effect.spawn_id->~IsCarryHeavy() && !crew->IsCarryingHeavy()))
{
var spawned = crew->CreateContents(effect.spawn_id);
effect.spawn_list[plrid].item = spawned;