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