So yesterday I was working on coding a unit which on death divides into two of itself but has half the health of the original. But I forgot to add in the line which makes it stop when health on the new clone for dividing is too low. So I was playing and going huh what a minute stop! stop! dividing no bad boy STOP! and ya know ending up with my half of game area filled with them (also the unit is called the dividing menace perfect name choice). Its one of those things which clearly breaks game balance but I'm so tempted to keep it.
Its just one of those moments in coding and so I've started wondering what some of my fellow game devs favourite/funny memory's of things not quite going to plan. So lets share our moment.