Fix crash and stop sending ticks after combat