This bug :
Tremaine doesn’t really shoot at you. 47’s death is a script, activated by Tremaine spotting you, and triggered when the sniper is shot. So if you took the sniper after he spotted you, the player gained control of a “press x to die” trigger.