[Klonan] [1.0.0] Uninitialized global used in error message in wave defense tech upgrades
Posted: Mon Aug 31, 2020 2:26 am
base/scenarios/wave-defense/wave_defense_upgrades.lua
name is not defined here (unless something else is putting it in the global scope? I know some of the base scripts do that), maybe it should be `type`?
Code: Select all
local to_effect = function(effects)
...
else error(name.." - This tech has no relevant upgrade effect") end