fixed a bug where damaging entities with indicators crashed the game