fix flagpole selling

Controls
Maikel de Vries 2015-06-07 12:54:40 +02:00
parent 1db961a92c
commit 178dce647d
1 changed files with 2 additions and 2 deletions

View File

@ -133,8 +133,8 @@ public func RejectCollect(id def, object obj)
{
if (obj->~IsValuable())
if (!obj->~QueryOnSell(obj->GetController()))
return false;
return _inherited(def, obj, ...);
return _inherited(def, obj, ...);
return true;
}
public func Collection(object obj)