Permalink
Browse files

make sure ELEC dies in ELEC+NEUT reaction

  • Loading branch information...
jacob1 committed Jan 17, 2015
1 parent b1a3c40 commit 8c1db513f6adfdaf9306bf6b60299831e5dcfb95
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/simulation/elements/ELEC.cpp
@@ -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)

0 comments on commit 8c1db51

Please sign in to comment.