Well, he uses it right but how do you know it doesnt work?
Add some debugging (for example some error's or beeps) and you know where exactly it stucks.
I bet you hit your ME entity and thats why if (enemy_p == you) fails.