forked from Mirrors/openclonk
fix producer components call after liquid_container branch merge
parent
6c8c4c9c19
commit
e92e7a2e2c
|
@ -829,7 +829,7 @@ public func IsCollectionAllowed(object item)
|
||||||
var product = queued.Product;
|
var product = queued.Product;
|
||||||
|
|
||||||
var i = 0, component_id;
|
var i = 0, component_id;
|
||||||
while (component_id = GetComponent(nil, i, nil, product))
|
while (component_id = product->GetComponent(nil, i))
|
||||||
{
|
{
|
||||||
if (component_id->~GetLiquidType() == item->~CanConvertToLiquidType())
|
if (component_id->~GetLiquidType() == item->~CanConvertToLiquidType())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue