fixed an exception when combat ended

fixes #200