mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
qsbitem: initial sync: send only to to
This commit is contained in:
parent
027ff0becc
commit
7e4df31d45
@ -94,10 +94,10 @@ public class QSBItem<T> : WorldObject<T>, IQSBItem
|
||||
switch (ItemState.State)
|
||||
{
|
||||
case ItemStateType.Held:
|
||||
((IQSBItem)this).SendMessage(new MoveToCarryMessage(ItemState.HoldingPlayer.PlayerId));
|
||||
((IQSBItem)this).SendMessage(new MoveToCarryMessage(ItemState.HoldingPlayer.PlayerId) { To = to });
|
||||
break;
|
||||
case ItemStateType.Socketed:
|
||||
((IQSBItem)this).SendMessage(new SocketItemMessage(SocketMessageType.Socket, ItemState.Socket));
|
||||
((IQSBItem)this).SendMessage(new SocketItemMessage(SocketMessageType.Socket, ItemState.Socket) { To = to });
|
||||
break;
|
||||
case ItemStateType.OnGround:
|
||||
((IQSBItem)this).SendMessage(
|
||||
@ -107,7 +107,7 @@ public class QSBItem<T> : WorldObject<T>, IQSBItem
|
||||
ItemState.Parent,
|
||||
ItemState.Sector,
|
||||
ItemState.CustomDropTarget,
|
||||
ItemState.Rigidbody));
|
||||
ItemState.Rigidbody) { To = to });
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user