Adapted the code to handle activation per trap tile.

As discussed with @hwoarangmy. :)