Backpacks can now be sold - thanks Elour and Legends!

This commit is contained in:
Cekis
2019-11-04 20:52:55 -08:00
committed by GitHub
parent 9677f060de
commit 1eeac441fd
@@ -1086,7 +1086,8 @@ public class smuggler extends script.base_script
CustomerServiceLog("Junk_Dealer: ", "smuggler.moveBuyBackObjectIntoInventory() - Player (OID: " + player + ") does not have a valid buy back container.");
return false;
}
if (putIn(object, objContainer, player))
// This should be a vendor... and if so, we don't care if it's full because the vendor does NOT try to move.
if (putInOverloaded(object, objContainer))
{
removeObjVar(object, BUYBACK_OBJ_TIMESTAMP);
removeObjVar(object, BUYBACK_OBJ_CREDITS);