3.16 LUA Error #261 fix

"attempt to call global 'PurchaseUnitOfFlavor' (a nil value)"
This log error is a result of the function being incorrectly called.