feat: notify manager to refresh cache after inventory dump

This commit is contained in:
MayaTheShy
2026-03-22 23:00:07 -04:00
parent 78e7c92893
commit 1336590241

View File

@@ -163,6 +163,14 @@ local function dumpInventory()
end end
end end
end end
-- Notify manager to refresh its cache so counts update immediately
if totalPushed > 0 then
pcall(function()
modem.transmit(ORDER_CHANNEL, ORDER_CHANNEL, { type = "scan" })
end)
end
return totalPushed return totalPushed
end end