Unhandled Crash Simple-Entity with damaged trigger effect
-
- Burner Inserter
- Posts: 7
- Joined: Mon Apr 04, 2022 1:49 pm
- Contact:
Unhandled Crash Simple-Entity with damaged trigger effect
local wall_damaged_effect = {
{
type = "create-entity",
entity_name = "grenade-explosion"
},
{
type = "damage",
damage = { amount = 20, type = "explosion" }
}
}
when it was hit by a biter the crash happened
- Attachments
-
- TronLegacy-LightCycle_1.0.4.zip
- this is the mod im working on I doubt you need any other mods
- (17.38 MiB) Downloaded 10 times
-
- factorio-current.log
- (538.52 KiB) Downloaded 9 times
-
- Burner Inserter
- Posts: 7
- Joined: Mon Apr 04, 2022 1:49 pm
- Contact:
Re: Unhandled Crash Simple-Entity with damaged trigger effect
(Update) I removed the type = "damage" entry and the crash does not happen
local wall_damaged_effect = {
{
type = "create-entity",
entity_name = "grenade-explosion"
}
}
local wall_damaged_effect = {
{
type = "create-entity",
entity_name = "grenade-explosion"
}
}
Re: Unhandled Crash Simple-Entity with damaged trigger effect
It's a stack overflow because you damage the wall when the wall gets damaged. NaB.