mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
update license
This commit is contained in:
parent
e066878abc
commit
3b9ebd29f9
@ -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)
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user