Fixed a carryheavy-bug with Collect(x,x, pos)

rope
Bernhard Bonigl 2012-04-29 15:05:29 +02:00
parent 54ec5629cd
commit 56809d9e43
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ public func Collect(object item, bool ignoreOCF, int pos, bool force)
{
force_collection = force;
var success = false;
if (pos == nil)
if (pos == nil || item->~IsCarryHeavy())
{
success = _inherited(item,ignoreOCF);
force_collection = false;