Question: what happened in the last episode of death in paradise?
Answer: Killer revealed Robert knew Olivia had a gun but before provoking her to attack, he replaced the bullets with a single blank one and pretended to be killed so he could frame her for attempted murder. This was so he could get rid of her and use the story to try and reignite his own acting career back in London.