entities/base_default_res_module/init.lua:143: attempt to index global
'CAF' (a nil value)
That is being spammed in console. Started happening at rev 732.
Function line 143 is in:
function ENT:UpdateWireOutput()
local RD = CAF.GetAddon("Resource Distribution")
local air = RD.GetResourceAmount(self, "oxygen")
local energy = RD.GetResourceAmount(self, "energy")
local coolant = RD.GetResourceAmount(self, "water")
local maxair = RD.GetNetworkCapacity(self, "oxygen")
local maxcoolant = RD.GetNetworkCapacity(self, "water")
local maxenergy = RD.GetNetworkCapacity(self, "energy")
Wire_TriggerOutput(self.Entity, "Oxygen", air)
Wire_TriggerOutput(self.Entity, "Energy", energy)
Wire_TriggerOutput(self.Entity, "Water", coolant)
Wire_TriggerOutput(self.Entity, "Max Oxygen", maxair)
Wire_TriggerOutput(self.Entity, "Max Energy", maxenergy)
Wire_TriggerOutput(self.Entity, "Max Water", maxcoolant)
end
Original issue reported on code.google.com by xxmonkey...@gmail.com on 14 Aug 2008 at 2:08
Original issue reported on code.google.com by
xxmonkey...@gmail.com
on 14 Aug 2008 at 2:08