mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-07 13:05:41 +00:00
188bbad5e7
* syncing time * clients auto-sleep or pause to reach server's time * disabled manual sleep/pause for clients
28 lines
602 B
C#
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>();
|
|
}
|
|
}
|
|
}
|