# if 'break' is never encountered, there was no such hegrenade # for instance, it could have been a flashbang that bounced else: return

entity.detonate()

I only mention using the event because using the 'touch' hooks can come with a multitude of other issues. Not that this situation is encountering that, but just as a general rule I personally shy away from using them when there are other options.