summaryrefslogtreecommitdiff
path: root/src/simulation/elements/ELEC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/ELEC.cpp')
-rw-r--r--src/simulation/elements/ELEC.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/simulation/elements/ELEC.cpp b/src/simulation/elements/ELEC.cpp
index c644f2f..4dd17be 100644
--- a/src/simulation/elements/ELEC.cpp
+++ b/src/simulation/elements/ELEC.cpp
@@ -128,7 +128,10 @@ int Element_ELEC::update(UPDATE_FUNC_ARGS)
return 1;
}
if ((r&0xFF)==PT_EXOT)
+ {
parts[r>>8].tmp2 += 5;
+ parts[r>>8].life = 1000;
+ }
if ((sim->elements[r&0xFF].Properties & PROP_CONDUCTS) && ((r&0xFF)!=PT_NBLE||parts[i].temp<2273.15))
{
sim->create_part(-1, x+rx, y+ry, PT_SPRK);