Farmbuyer
04-28-2005, 10:40 AM
It's a hard dependancy, and needs to be listed as such.
All through the code are direct, unchecked references to CosmosTooltip. When Cosmos is disabled, ItemBuff remains enabled, but then spews hundreds of nil variable errors.
If you're going to leave it as an optional dependancy, you need to check for those symbols before using them:
if (CosmosTooltip) then
CosmosTooltip:whatever();
end
All through the code are direct, unchecked references to CosmosTooltip. When Cosmos is disabled, ItemBuff remains enabled, but then spews hundreds of nil variable errors.
If you're going to leave it as an optional dependancy, you need to check for those symbols before using them:
if (CosmosTooltip) then
CosmosTooltip:whatever();
end