Merge from master (#2036)

* Update Storage.lua

* Update Storage.lua (#2035)
This commit is contained in:
Thomas
2023-11-01 06:21:56 +01:00
committed by GitHub
parent adad7ef901
commit dc26134845

View File

@@ -283,7 +283,7 @@ function STORAGE:SetLiquid(Type, Amount)
self:T(self.lid..string.format("Setting liquid %s to N=%d", self:GetLiquidName(Type), Amount))
self.warehouse:setLiquid(Type, Amount)
self.warehouse:setLiquidAmount(Type, Amount)
return self
end