Skip to content

Commit

Permalink
make sure ELEC dies in ELEC+NEUT reaction
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jan 17, 2015
1 parent b1a3c40 commit 8c1db51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/simulation/elements/ELEC.cpp
Expand Up @@ -96,6 +96,7 @@ int Element_ELEC::update(UPDATE_FUNC_ARGS)
sim->part_change_type(r>>8, x+rx, y+ry, PT_H2);
parts[r>>8].life = 0;
parts[r>>8].ctype = 0;
sim->kill_part(i);
break;
case PT_DEUT:
if(parts[r>>8].life < 6000)
Expand Down

0 comments on commit 8c1db51

Please sign in to comment.