only return node frames on non-dedi instances

This commit is contained in:
m 2022-05-09 20:02:53 -05:00 committed by GitHub
parent bb3e8d3147
commit dbc30dee6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,7 +167,7 @@ namespace Components
void Node::RunFrame()
{
if (ServerList::useMasterServer) return;
if (!Dedicated::IsEnabled() && ServerList::useMasterServer) return;
if (Dedicated::IsEnabled() && Dedicated::SVLanOnly.get<bool>()) return;
if (!Dedicated::IsEnabled() && *Game::clcState > 0)