Added pause when a unit is attacked

For #173 as well