Difference between revisions of "Team:Carnegie Mellon/game"
Line 857: | Line 857: | ||
function restart(){ | function restart(){ | ||
+ | _myCell.destroy(); | ||
_myCell = new Cell(false, "mainPlayer"); //NOT a computer | _myCell = new Cell(false, "mainPlayer"); //NOT a computer | ||
_myCell.spawnCell(); | _myCell.spawnCell(); |
Revision as of 13:34, 14 July 2015