quantum-space-buddies/QSB/ServerSettings/ServerSettingsManager.cs
2022-12-02 22:27:23 +00:00

11 lines
304 B
C#

using QSB.Utility;
using UnityEngine;
namespace QSB.ServerSettings;
internal class ServerSettingsManager : MonoBehaviour, IAddComponentOnStart
{
public static bool ServerShowPlayerNames;
public static bool ShowPlayerNames => (ServerShowPlayerNames || QSBCore.IsHost) && QSBCore.ShowPlayerNames;
}