mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-04-17 08:43:30 +00:00
cleanup
This commit is contained in:
parent
42954b25e3
commit
91fc9b12ca
@ -1,6 +1,5 @@
|
||||
using OWML.ModHelper.Events;
|
||||
using QSB.Events;
|
||||
using QSB.Utility;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Networking;
|
||||
|
||||
@ -33,7 +32,6 @@ namespace QSB.TimeSync
|
||||
|
||||
private void Start()
|
||||
{
|
||||
DebugLog.ToConsole("WAKEUPSYNC NETID IS " + netId.Value);
|
||||
if (!isLocalPlayer)
|
||||
{
|
||||
return;
|
||||
@ -70,7 +68,6 @@ namespace QSB.TimeSync
|
||||
|
||||
private void Init()
|
||||
{
|
||||
DebugLog.ToConsole("WAKEUPSYNC NETID IS " + netId.Value);
|
||||
GlobalMessenger.FireEvent(EventNames.QSBPlayerStatesRequest);
|
||||
_state = State.Loaded;
|
||||
gameObject.AddComponent<PreserveTimeScale>();
|
||||
|
@ -87,7 +87,6 @@ namespace QSB.TransformSync
|
||||
// If this script is attached to any other body, eg the representations of other players
|
||||
if (SyncedTransform.position == Vector3.zero)
|
||||
{
|
||||
DebugLog.ToConsole($"{GetType().Name} of id {PlayerId} is at 0,0,0!");
|
||||
Hide();
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user