Update Storage.lua

This commit is contained in:
Thomas 2023-11-01 06:19:53 +01:00 committed by GitHub
parent 1561f49c9c
commit 36d9460cdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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