Bubbus/XCF

Ammo crates are not detonating.

Closed this issue · 2 comments

I spawn any of the ammo crates and I wire the detonate to a Wire Button it gives me this error:
Wire error (Entity [89][acf_ammo]): addons/xcf-master/lua/entities/acf_ammo/init.lua:264: attempt to call global 'ACF_AmmoExplosion' (a nil value)
stack traceback:
addons/xcf-master/lua/entities/acf_ammo/init.lua:264: in function <addons/xcf-master/lua/entities/acf_ammo/init.lua:242>
[C]: in function 'xpcall'
addons/wire-master/lua/wire/server/wirelib.lua:62: in function 'TriggerInput'
addons/wire-master/lua/wire/server/wirelib.lua:527: in function 'Wire_TriggerOutput'
addons/wire-master/lua/entities/

And when I wire up with a Wire Ranger it gives this error:
attempt to call global 'ACF_AmmoExplosion' (a nil value)
stack traceback:
addons/xcf-master/lua/entities/acf_ammo/init.lua:264: in function <addons/xcf-master/lua/entities/acf_ammo/init.lua:242>
[C]: in function 'xpcall'
addons/wire-master/lua/wire/server/wirelib.lua:62: in function 'TriggerInput'
addons/wire-master/lua/wire/server/wirelib.lua:527: in function 'Wire_TriggerOutput'
addons/wire-master/lua/entities/

This was caused by the recent fuel update in ACF - it changed ACF_AmmoExplosion() to ACF_ScaledExplosion(), which of course breaks all of my stuff :)
Thanks for the report.

Fixed with 9de6d4b