attempt to index global 'sounds' (a nil value)
Posted: Tue Jan 28, 2020 10:49 pm
With 0.18.2, they added damaged_trigger_effect = hit_effects.entity()
to "C:\Program Files (x86)\Steam\steamapps\common\Factorio\data\base\prototypes\entity\demo-turrets.lua"
Well, I have a Gun turret mod that won't load now.
The mod has a control.lua that has these 2 lines:
local hit_effects = require ("prototypes.entity.demo-hit-effects")
local sounds = require("prototypes.entity.demo-sounds")
However, they don't seem to be working.
Is that control.lua file not pulling in the locals correctly?
to "C:\Program Files (x86)\Steam\steamapps\common\Factorio\data\base\prototypes\entity\demo-turrets.lua"
Well, I have a Gun turret mod that won't load now.
The mod has a control.lua that has these 2 lines:
local hit_effects = require ("prototypes.entity.demo-hit-effects")
local sounds = require("prototypes.entity.demo-sounds")
However, they don't seem to be working.
Is that control.lua file not pulling in the locals correctly?