update license

This commit is contained in:
Mister_Nebula 2021-02-01 10:15:04 +00:00
parent e066878abc
commit 3b9ebd29f9
3 changed files with 4 additions and 3 deletions

View File

@ -17,7 +17,7 @@ using System.Linq;
using UnityEngine;
/*
Copyright (C) 2020
Copyright (C) 2020 - 2021
Henry Pointer (_nebula / misternebula),
Aleksander Waage (AmazingAlek),
Ricardo Lopes (Raicuparta)

View File

@ -99,7 +99,7 @@ namespace QSB.QuantumSync.Patches
{
var qsbObj = QSBWorldSync.GetWorldObject<QSBMultiStateQuantumObject>(QuantumManager.Instance.GetId(__instance));
var isInControl = qsbObj.ControllingPlayer == QSBPlayerManager.LocalPlayerId;
//DebugLog.DebugWrite($"Multistate (instance:{__instance.name}) (obj:{qsbObj.AttachedObject.name}) change state - in control:{isInControl} ({qsbObj.ControllingPlayer} vs {QSBPlayerManager.LocalPlayerId})");
DebugLog.DebugWrite($"Multistate {qsbObj.AttachedObject.name} change state - in control:{isInControl} ({qsbObj.ControllingPlayer} vs {QSBPlayerManager.LocalPlayerId})");
return isInControl;
}
@ -111,6 +111,7 @@ namespace QSB.QuantumSync.Patches
}
var allMultiStates = QSBWorldSync.GetWorldObjects<QSBMultiStateQuantumObject>();
var owner = allMultiStates.First(x => x.QuantumStates.Contains(__instance));
DebugLog.DebugWrite($"QuantumState set visible state:{__instance.name}, visible:{visible}, owner:{owner.AttachedObject.name}, inControl:{owner.ControllingPlayer != QSBPlayerManager.LocalPlayerId}");
//DebugLog.DebugWrite($"{owner.AttachedObject.name} controller is {owner.ControllingPlayer}");
if (owner.ControllingPlayer != QSBPlayerManager.LocalPlayerId)
{

View File

@ -4,7 +4,7 @@ Quantum Space Buddies (QSB) is a multiplayer mod for Outer Wilds. The mod uses t
## License
Copyright (C) 2020 : Henry Pointer (_nebula or misternebula) - Aleksander Waage (AmazingAlek) - Ricardo Lopes (Raicuparta)
Copyright (C) 2020 - 2021 : Henry Pointer (_nebula or misternebula) - Aleksander Waage (AmazingAlek) - Ricardo Lopes (Raicuparta)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published