Multiplayer branch if in Viewport

Hello, what can i do against this error, i know, that it doesn´t know, which viewport is meant, but how can i make it, so it takes all viewports?