Open 6fears7 opened 1 week ago
This will be more tricky to manage than I thought:
this.game.cameras[0].followAbstractCreature = ac;
// check Online AC owner, if not in room with me, then isActuallySpectating = true
if (ac.Room.realizedRoom == null)
{
this.game.world.ActivateRoom(ac.Room);
}
// transfer this resource if possible
if (isSupervisor && owner != null && owner.hasLeft) // && !isActuallySpectating ->> need to link this to the oe
{
RainMeadow.Debug($"Transfering abandoned resource {this}");
PickNewOwner();
}
Need to check Story's PlayersCanOwn
To prevent awkward issues with ownership when spectator wants to bounce around and watch players.