Host creates an additional actor post login

Hello!

I have the following code below in my GameMode:

q1.jpg

The top one makes everyone post login create a villager. The bottom one makes the host spawn a vampire. Everything is good, but the problem is, and I know it, that the vampire upon logging in also creates a villager. I tried making a branch with IS SERVER as condition, and while in theory sounds that it should work, it doesn’t. I do not know how to make the Host ignore the post login code.

I must note that I have played with the switch has authority and nothing.

Help?

Fix it. Made the Villager player run his command from the player controller.