quantum-space-buddies/QSB/QSB.cs
AmazingAlek 188bbad5e7
Alek/sleep sync (#29)
* syncing time
* clients auto-sleep or pause to reach server's time
* disabled manual sleep/pause for clients
2020-02-28 22:07:39 +01:00

28 lines
602 B
C#

using OWML.Common;
using OWML.ModHelper;
using UnityEngine;
using UnityEngine.Networking;
namespace QSB
{
public class QSB : ModBehaviour
{
public static IModHelper Helper;
private void Awake()
{
Application.runInBackground = true;
}
private void Start()
{
Helper = ModHelper;
gameObject.AddComponent<DebugLog>();
gameObject.AddComponent<QSBNetworkManager>();
gameObject.AddComponent<NetworkManagerHUD>();
gameObject.AddComponent<RespawnOnDeath>();
}
}
}