allow stock to be 0 offset

This commit is contained in:
Stewart Allen 2020-05-17 00:02:51 -04:00
commit 3aaf014a1c
2 changed files with 2 additions and 2 deletions

View file

@ -1210,7 +1210,7 @@ self.kiri.copyright = exports.COPYRIGHT;
function platformUpdateStock(refresh) {
let sd = settings.process;
let offset = UI.camStockOffset.checked;
let stockSet = sd.camStockX && sd.camStockY && sd.camStockZ >= 0;
let stockSet = offset || (sd.camStockX && sd.camStockY && sd.camStockZ > 0);
let scale = unitScale();
settings.stock = { };
camTopZ = topZ;