30 lines
634 B
C#
Raw Normal View History

2020-02-10 23:03:28 +01:00
using OWML.Common;
using OWML.ModHelper;
using QSB.TimeSync;
2020-02-10 23:03:28 +01:00
using UnityEngine;
using UnityEngine.Networking;
2020-02-15 20:48:02 +01:00
namespace QSB
{
public class QSB : ModBehaviour
{
public static IModHelper Helper;
2020-02-10 23:03:28 +01:00
2020-02-15 20:48:02 +01:00
private void Awake()
{
2020-02-10 23:03:28 +01:00
Application.runInBackground = true;
}
2020-02-15 20:48:02 +01:00
private void Start()
{
Helper = ModHelper;
2020-02-10 23:03:28 +01:00
gameObject.AddComponent<DebugLog>();
gameObject.AddComponent<QSBNetworkManager>();
2020-02-13 20:23:26 +01:00
gameObject.AddComponent<NetworkManagerHUD>();
gameObject.AddComponent<PreserveTimeScale>();
2020-02-10 23:03:28 +01:00
}
2020-02-21 23:36:07 +01:00
2020-02-10 23:03:28 +01:00
}
}