summaryrefslogtreecommitdiff
path: root/src/elements/elec.c
diff options
context:
space:
mode:
authorJacob1 <jfu614@gmail.com>2012-05-23 23:53:50 (GMT)
committer Jacob1 <jfu614@gmail.com>2012-05-23 23:53:50 (GMT)
commit1026963293716c8d340fcb857c0af092af92aa11 (patch)
tree6649ab39b146da9c9f56e6369227708e64fa837d /src/elements/elec.c
parent0799c2e09d2e7a4237b393c8eaa61031418ec402 (diff)
downloadpowder-1026963293716c8d340fcb857c0af092af92aa11.zip
powder-1026963293716c8d340fcb857c0af092af92aa11.tar.gz
fusion changes
Diffstat (limited to 'src/elements/elec.c')
-rw-r--r--src/elements/elec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/elec.c b/src/elements/elec.c
index 667499f..9ee3876 100644
--- a/src/elements/elec.c
+++ b/src/elements/elec.c
@@ -94,7 +94,7 @@ int update_ELEC(UPDATE_FUNC_ARGS) {
kill_part(i);
return 1;
}
- if (ptypes[r&0xFF].properties & PROP_CONDUCTS && ((r&0xFF)!=PT_H2||parts[i].tmp!=1))
+ if (ptypes[r&0xFF].properties & PROP_CONDUCTS && ((r&0xFF)!=PT_H2||parts[i].temp<2273.15))
{
create_part(-1, x+rx, y+ry, PT_SPRK);
kill_part(i);