You can check (bool)
GamePlay.gpIsServerDedicated();
GamePlay.gpIsServerSingle();
but by a SingleplayerGame GamePlay.gpIsServerSingle() is also true.
So you should check if
GamePlay.gpRemotePlayers()
contains Players, if so its a MultiplayerGame if not its a SinglePlayer.
|