mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 21:32:47 +00:00
make QSBAlarmTotem an AuthWorldObject
This commit is contained in:
parent
ea5477cc15
commit
fd721ed0e4
@ -1,4 +1,5 @@
|
|||||||
using Cysharp.Threading.Tasks;
|
using Cysharp.Threading.Tasks;
|
||||||
|
using QSB.AuthoritySync;
|
||||||
using QSB.EchoesOfTheEye.AlarmTotemSync.Messages;
|
using QSB.EchoesOfTheEye.AlarmTotemSync.Messages;
|
||||||
using QSB.Messaging;
|
using QSB.Messaging;
|
||||||
using QSB.Player;
|
using QSB.Player;
|
||||||
@ -11,8 +12,11 @@ namespace QSB.EchoesOfTheEye.AlarmTotemSync.WorldObjects;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// TODO: make this not NRE (by not doing enable sync) and then readd it back in
|
/// TODO: make this not NRE (by not doing enable sync) and then readd it back in
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class QSBAlarmTotem : WorldObject<AlarmTotem>
|
public class QSBAlarmTotem : AuthWorldObject<AlarmTotem>
|
||||||
{
|
{
|
||||||
|
public override bool CanOwn => AttachedObject.enabled;
|
||||||
|
|
||||||
|
|
||||||
public readonly List<uint> VisibleFor = new();
|
public readonly List<uint> VisibleFor = new();
|
||||||
public bool IsLocallyVisible;
|
public bool IsLocallyVisible;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user